Category : Miscellaneous Language Source Code
Archive   : MKINF10.ZIP
Filename : MAKE.INC
# Copyright (C) 1990 by Thorsten Ohl, [email protected]
# $Header$
#
# This library of targets contains fairly standard idioms
# for makefile (but they seem not yet ripe enough to become
# hard coded defaults).
#
# Maintaing backups in a .zip archive and on floppy disk.
#
# entry points:
# zip, disk
#
# required macros:
# ZIPFILE: name of the zip file (without suffix)
# DISK: letter of the disk on which the backup lives
# RCSFILES: files living in RCS (w/o prefix)
# MISC: more files
ifdef ZIPFILE
.PHONY: zip
zip: $(ZIPFILE).zip
ifdef RCSFILES
$(ZIPFILE).zip: $(addprefix RCS/, $(RCSFILES)) $(MISC)
else
$(ZIPFILE).zip: $(MISC)
endif
pkzip -r- -P $@ $?
ifdef DISK
.PHONY: disk
disk: $(DISK):/$(ZIPFILE).zip
$(DISK):/$(ZIPFILE).zip: $(ZIPFILE).zip
cp -f $< $@
pkunzip -t $@ | grep -vw OK
endif # DISK
endif # ZIPFILE
#
# Creating .tar files:
%.tar:
tar -cf $@ $^
# Compressing .tar files for mailing
%.uue: %.tar
compress < $< | uuencode $<.Z > $@
#
# Local Variables:
# mode:Text
# ChangeLog:ChangeLog
# compile-command:make
# End:
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/