Changeset 58 for trunk/Makefile.in
- Timestamp:
- Aug 22, 2006, 11:02:10 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r57 r58 882 882 rpm-light: rpmspec-light distrpm 883 883 rpmbuild -ta ./$(PACKAGE)-$(VERSION).tar.gz; 884 @echo "Searching the RPM package ..."; \ 885 RPMFILE=`find /usr/src -follow -maxdepth 4 -cnewer ./samhain.spec 2>/dev/null | grep '@install_name@-$(VERSION)' | grep '\.rpm' | grep -v '\.src\.'`; \ 884 @RPMTOP=`cat ~/.rpmmacros 2>/dev/null | grep '%_topdir' | awk '{ print $$2}'`; \ 885 if test x"$$RPMTOP" = x; then RPMTOP=/usr/src; fi; \ 886 echo "Searching the RPM package below $$RPMTOP ..."; \ 887 RPMFILE=`find $$RPMTOP -follow -maxdepth 4 -cnewer ./samhain.spec 2>/dev/null | grep '@install_name@-$(VERSION)' | grep '\.rpm' | grep -v '\.src\.'`; \ 886 888 echo; \ 887 889 if test x"$$RPMFILE" = x; then \ … … 890 892 else \ 891 893 echo "Package $$RPMFILE built."; \ 894 echo "Copying it to ./$(PACKAGE)-$(VERSION).rpm"; \ 892 895 cp $$RPMFILE ./$(PACKAGE)-$(VERSION).rpm; \ 893 896 fi; \ … … 896 899 rpm: rpmspec-full distrpm 897 900 rpmbuild -ta ./$(PACKAGE)-$(VERSION).tar.gz; 898 @echo "Searching the RPM package ..."; \ 899 RPMFILE=`find /usr/src -follow -maxdepth 4 -cnewer ./samhain.spec 2>/dev/null | grep '@install_name@-$(VERSION)' | grep '\.rpm' | grep -v '\.src\.'`; \ 901 @RPMTOP=`cat ~/.rpmmacros 2>/dev/null | grep '%_topdir' | awk '{ print $$2}'`; \ 902 if test x"$$RPMTOP" = x; then RPMTOP=/usr/src; fi; \ 903 echo "Searching the RPM package below $$RPMTOP ..."; \ 904 RPMFILE=`find $$RPMTOP -follow -maxdepth 4 -cnewer ./samhain.spec 2>/dev/null | grep '@install_name@-$(VERSION)' | grep '\.rpm' | grep -v '\.src\.'`; \ 900 905 echo; \ 901 906 if test x"$$RPMFILE" = x; then \ … … 904 909 else \ 905 910 echo "Package $$RPMFILE built."; \ 911 echo "Copying it to ./$(PACKAGE)-$(VERSION).rpm"; \ 906 912 cp $$RPMFILE ./$(PACKAGE)-$(VERSION).rpm; \ 907 913 fi; \
Note:
See TracChangeset
for help on using the changeset viewer.