ppcrcd/trunk/Makefile

sparky cvs at pld-linux.org
Sat Jan 7 01:43:37 CET 2006


Author: sparky
Date: Sat Jan  7 01:43:35 2006
New Revision: 6755

Modified:
   ppcrcd/trunk/Makefile
Log:
- one more fix


Modified: ppcrcd/trunk/Makefile
==============================================================================
--- ppcrcd/trunk/Makefile	(original)
+++ ppcrcd/trunk/Makefile	Sat Jan  7 01:43:35 2006
@@ -31,6 +31,7 @@
 
 INSTALL = $(addprefix out/rpm/installed/,$(I))
 STOP = $(addprefix $(touch)/stop/,$(S))
+POST_ = $(addprefix $(touch)/,$(POST))
 
 $(ppcrcd_iso):	$(cdroot) $(boot)/hfs.map files.sort
 	$(SU) mkisofs \
@@ -60,7 +61,7 @@
 	ln -s $(PWD)/bootinfo.txt $@.work/ppc
 	mv -f $@{.work,}
 
-$(ppcrcd_sqf):	$(root_stripped) $(STOP) $(POST) $(touch)/pld-release
+$(ppcrcd_sqf):	$(root_stripped) $(STOP) $(POST_) $(touch)/pld-release
 	rm -f $@
 	$(SU) /usr/sbin/mksquashfs_lzma \
 		$(root_stripped)	\
@@ -182,7 +183,7 @@
 	cd out/rpm/SPECS && ( rpmbuild -bb	\
 		--define="_topdir $(PWD)/out/rpm"	\
 		$(notdir $(firstword $^)).spec		\
-		$(BCOND-$(notdir $@)) $(BCOND)		\
+		$(BCOND-$(notdir $(firstword $^))) $(BCOND)		\
 		--define="rpmcflags $(CFLAGS)";		\
 		echo $$? > $(PWD)/EXIT) | tee $(PWD)/buildout;
 	[ `cat EXIT` == 0 ] || exit `cat EXIT`


More information about the pld-cvs-commit mailing list