# Makefile for package skel (a set of skeleton files) #-------------------------- # # There MUST exist a global Makefile in the mgr directory # (here $SKELMGR) of the package. It must allow to completely # build the package. There might be other Makefiles for example # in the src directory. # # Note: The Makefile MUST be conform with GNU-Make (please try). # ==== ======== #-------------------------- package = skel version = $(SKELVERSION) tarfile = $(MANAGESAVE)/$(package).$(version).tar bin = $(SKELBIN) src = $(SKELSRC) mgr = $(SKELMGR) # #-------------------------- # Make all e.g. build the complete package. # Here run the Makefile in ../src. # all : cd $(src); $(MAKE) # #-------------------------- # The "tar" tag can be used to make a compressed tar archive of the # package for backup and export. The tar archive is created in # $MANAGESAVE. # With "packman -e skel v1" it can be moved to MANAGEFTP which # is the official anonymous ftp place (implemented only on the LNF # UNIX cluster). # .PHONY: tar tar : -rm core $(src)/*~ $(src)/#*# -mv $(tarfile).Z \ $(tarfile).Zold cd ../..; \ tar cf $(tarfile) \ $(version)/src $(version)/mgr $(version)/doc compress $(tarfile) @ls -l $(tarfile).Z #