head 1.3; access; symbols; locks mhol:1.3; strict; comment @# @; 1.3 date 2001.05.04.05.29.19; author mhol; state Exp; branches; next 1.2; 1.2 date 2000.06.27.00.54.22; author mhol; state Exp; branches; next 1.1; 1.1 date 2000.04.26.04.19.00; author mhol; state Exp; branches; next ; desc @@ 1.3 log @*** empty log message *** @ text @# Everything we have to do in order to mirror the Unix Archive, and cut a # CD-ROM image from the files in the local archive. # # You MUST set up the .depend file for this makefile to work correctly. # See .depend for variables you can set which control the make commands. RSYNC=rsync -avuz --delete $(N) $(PASSWDFILE) $(NOISO) all: @@echo 'No, choose one of the sub-options: image1, image2, images, sync' # Connect to a remote rsync server which has a copy of the Unix Archive # and mirror it here sync: .depend $(RSYNC) $(USER)@@$(RSERVER)::UA_Root \ --exclude Applications \ --exclude 4BSD \ --exclude PDP-11 \ --exclude VAX \ --exclude Other \ --exclude Mirroring $(PD) $(RSYNC) $(USER)@@$(RSERVER)::UA_Applications $(PD)/Applications $(RSYNC) $(USER)@@$(RSERVER)::UA_4BSD $(PD)/4BSD $(RSYNC) $(USER)@@$(RSERVER)::UA_PDP11 $(PD)/PDP-11 $(RSYNC) $(USER)@@$(RSERVER)::UA_VAX $(PD)/VAX $(RSYNC) $(USER)@@$(RSERVER)::UA_Other $(PD)/Other $(RSYNC) $(USER)@@$(RSERVER)::UA_Mirroring \ --exclude .depend --exclude .rsync_passwd \ $(PD)/Mirroring # Build a Rock Ridge image of Vol.1 of the archive, the PDP-11 disk. You may # want to change the producer's identification (PREP) in .depend. # image1: Makefile .depend echo 'APPI=Unix Archive Volume 1: PDP-11 category' > .mkisofsrc echo 'COPY=The Unix Heritage Society' >> .mkisofsrc echo 'ABST=The Unix Archive, Volume 1: PDP-11 category' >> .mkisofsrc echo "PREP=$(PREP)" >> .mkisofsrc echo 'PUBL=The Unix Heritage Society http://tuhs.org/TUHS/' \ >> .mkisofsrc perl $(PD)/Mirroring/snap_date >> .mkisofsrc echo 'SYSI=UNIX' >> .mkisofsrc echo 'VOLI=Unix Archive Volume 1: PDP-11 category' >> .mkisofsrc nice mkisofs -v -o $(IMG1) -r -D $(PS) \ -x $(PD)/.htaccess -x $(PD)/.message -x $(PD)/Mirroring \ -x $(PD)/bin -x $(PD)/TODO -x $(PD)/etc -x $(PD)/incoming \ -x $(PD)/VAX \ -x $(PD)/Other \ -x $(PD)/4BSD \ $(PD) # Build a Rock Ridge image of Vol.2 of the archive, the VAX & 4BSD disk. You may # want to change the producer's identification (PREP) in .depend. # image2: Makefile .depend echo 'APPI=Unix Archive Volume 2: VAX & 4BSD category' > .mkisofsrc echo 'COPY=The Unix Heritage Society' >> .mkisofsrc echo 'ABST=The Unix Archive, Volume 2: VAX & 4BSD category' \ >> .mkisofsrc echo "PREP=$(PREP)" >> .mkisofsrc echo 'PUBL=The Unix Heritage Society http://tuhs.org/TUHS/' \ >> .mkisofsrc perl $(PD)/Mirroring/snap_date >> .mkisofsrc echo 'SYSI=UNIX' >> .mkisofsrc echo 'VOLI=Unix Archive Volume 2: VAX & 4BSD category' >> .mkisofsrc nice mkisofs -v -o $(IMG2) -r -D $(PS) \ -x $(PD)/.htaccess -x $(PD)/.message -x $(PD)/Mirroring \ -x $(PD)/bin -x $(PD)/TODO -x $(PD)/etc -x $(PD)/incoming \ -x $(PD)/PDP-11 \ $(PD) # Some dummy make targets just in case we type make image or make images image: image1 images: image1 image2 @ 1.2 log @*** empty log message *** @ text @d1 1 a1 1 # Everything we have to do in order to mirror the PUPS Archive, and cut a d4 3 a6 1 # See .depend for variables you can set which control the make commands d9 1 a9 1 @@echo 'No, choose one of the sub-options: image, sync' d11 21 a31 1 # Actually build a Rock Ridge image of the archive. You may d34 16 a49 25 image: Makefile .mkisofsrc nice mkisofs -v -o $(IMG) -r -D $(PS) \ -x $(PD)/.htaccess -x $(PD)/.build -x $(PD)/.miscfiles \ -x $(PD)/.other -x $(PD)/.message -x $(PD)/.mirror \ -x $(PD)/bin -x $(PD)/TODO -x $(PD)/Trees \ -x $(PD)/etc -x $(PD)/incoming \ -x $(PD)/Distributions/other \ -x $(PD)/Applications/Shoppa_Tapes \ -x $(PD)/Emulators/Begemot-2.0 \ -x $(PD)/Emulators/Begemot-2.3 \ -x $(PD)/Emulators/Supnik-1.0 \ -x $(PD)/Emulators/Supnik-2.2 \ -x $(PD)/Emulators/Apout/Old_Versions \ -x $(UNSW)/1/record0.gz -x $(UNSW)/106/106.0.gz \ -x $(UNSW)/107/107.0.gz -x $(UNSW)/108/108.0.gz \ -x $(UNSW)/110/110.0.gz -x $(UNSW)/2/record0.gz \ -x $(UNSW)/3/record0.gz -x $(UNSW)/4/record0.gz \ -x $(UNSW)/4/record1.gz -x $(UNSW)/4/record2.gz \ -x $(UNSW)/5/record0.gz -x $(UNSW)/6/record0.gz \ -x $(UNSW)/7/record0.gz -x $(UNSW)/81/record0.gz \ -x $(UNSW)/82/record0.gz -x $(UNSW)/83/record0.gz \ -x $(UNSW)/85/record0.gz -x $(UNSW)/86/record0.gz \ -x $(UNSW)/87/record0.gz -x $(UNSW)/88/record0.gz \ -x $(UNSW)/89/record0.gz -x $(UNSW)/90/record0.gz \ -x $(UNSW)/92/92.0.gz -x $(UNSW)/93/93.0.gz \ d52 8 a59 11 # Connect to a remote rsync server which has a copy of the PUPS Archive # and mirror it here sync: rsync -avuz --delete --exclude-from rsync_exclude $(N) $(PASSWDFILE) \ $(USER)@@$(RSERVER)::PUPS $(PD) # Update .mkisofsrc depending on the PREP variable in .depend .mkisofsrc: .depend echo 'APPI=PUPS Archive' > .mkisofsrc echo 'COPY=PDP UNIX Preservation Society' >> .mkisofsrc echo 'ABST=PUPS Archive of PDP-11 UNIX Software' >> .mkisofsrc d61 3 a63 2 echo 'PUBL=PDP UNIX Preservation Society http://minnie.cs.adfa.edu.au/PUPS/' >> .mkisofsrc perl snap_date >> .mkisofsrc d65 11 a75 1 echo 'VOLI=PUPS Archive' >> .mkisofsrc @ 1.1 log @Initial revision @ text @d12 4 a15 4 image: Makefile .mkisofs nice mkisofs -v -o $(IMG) -r -a -D -$(PS) \ -x $(PD)/.build -x $(PD)/.miscfiles \ -x $(PD)/.other -x $(PD)/.message \ d22 3 d42 1 a42 1 rsync -avuz --delete --exclude-from rsync_exclude -$(N) \ d45 10 a54 10 # Update .mkisofs depending on the PREP variable in .depend .mkisofs: .depend echo 'APPI=PUPS Archive' > .mkisofs echo 'COPY=PDP UNIX Preservation Society' >> .mkisofs echo 'ABST=PUPS Archive of PDP-11 UNIX Software' >> .mkisofs echo "PREP=$(PREP)" >> .mkisofs echo 'PUBL=PDP UNIX Preservation Society http://minnie.cs.adfa.edu.au/PUPS/' >> .mkisofs perl snap_date >> .mkisofs echo 'SYSI=UNIX' >> .mkisofs echo 'VOLI=PUPS Archive' >> .mkisofs @