From: Patrick J. L. <pa...@us...> - 2004-04-19 19:21:03
|
Update of /cvsroot/unattended/unattended/linuxboot In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20244 Modified Files: Makefile Log Message: Tidy up rules so that "make && make" does not build anything twice. Index: Makefile =================================================================== RCS file: /cvsroot/unattended/unattended/linuxboot/Makefile,v retrieving revision 1.51 retrieving revision 1.52 diff -u -d -r1.51 -r1.52 --- Makefile 19 Apr 2004 19:01:35 -0000 1.51 +++ Makefile 19 Apr 2004 19:20:55 -0000 1.52 @@ -526,11 +526,16 @@ stage1/etc/passwd stage1/usr/lib/freedos-mbr.bin ## Stage 1 -stage1: $(stage1) - mkdir -p stage1/usr/local +stage1/usr/local: + mkdir -p $@ + +.stamp-stage1: $(stage1) stage1/usr/local + touch $@ + +stage1: .stamp-stage1 ## Stage 2 -.stamp-stage2: stage1 misc/nail-floppy.txt +.stamp-stage2: .stamp-stage1 misc/nail-floppy.txt rm -rf stage2 ../install/linuxaux mkdir stage2 cp -R -f --preserve=links,mode stage1/. stage2/. @@ -668,5 +673,5 @@ rm -rf $(patsubst symlink-%,%,$(symlink_targets)) rm -f $(glibc-linuxthreads) rm -rf dosboot iso - rm -rf stage2 .stamp-stage2 + rm -rf .stamp-stage1 stage2 .stamp-stage2 rm -f devices.cpio initrd |