You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#
|
|
|
|
# Change it according to your setup
|
|
|
|
#
|
|
|
|
N2N_HOME=$(PWD)/../..
|
|
|
|
N2N_BUILD=${N2N_HOME}/packages/debian/n2n
|
|
|
|
PLATFORM=@MACHINE@
|
|
|
|
RPM_PKG=n2n-@N2N_VERSION_RPM@-1.$(PLATFORM).rpm
|
|
|
|
|
|
|
|
all: clean pkg
|
|
|
|
|
|
|
|
pkg:
|
|
|
|
rpmbuild -bb ./n2n.spec
|
|
|
|
-@@RPM_SIGN_CMD@ $(HOME)/rpmbuild/RPMS/$(PLATFORM)/$(RPM_PKG)
|
|
|
|
@echo ""
|
|
|
|
@echo "Package contents:"
|
|
|
|
@rpm -qpl $(HOME)/rpmbuild/RPMS/$(PLATFORM)/$(RPM_PKG)
|
|
|
|
@echo "The package is now available in $(HOME)/rpmbuild/RPMS/$(PLATFORM)/$(RPM_PKG)"
|
|
|
|
|
|
|
|
distclean:
|
|
|
|
echo "dummy distclean"
|
|
|
|
|
|
|
|
install:
|
|
|
|
echo "dummy install"
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf *~ *rpm
|