Renamed grouplist groupmatch to *.pl to make shebang configurable.

This commit is contained in:
hjp 2003-04-10 08:39:17 +00:00
parent 7227f9bb20
commit cd3d0fa151
3 changed files with 30 additions and 0 deletions

30
grouptools/GNUmakefile Normal file
View File

@ -0,0 +1,30 @@
include GNUmakevars
CONFDIR=../../configure
CONFDIR_exists=$(shell [ -d $(CONFDIR) ] && echo ok)
all: configure grouplist groupmatch
clean:
rm grouplist groupmatch
install: \
$(BINDIR)/grouplist \
$(BINDIR)/groupmatch \
%: %.pl customize
sh ./customize < $< > $@
chmod +x $@
customize: configure
sh ./configure
ifeq ($(CONFDIR_exists),ok)
configure: $(CONFDIR)/start $(CONFDIR)/perl $(CONFDIR)/finish
cat $^ > $@
endif
include GNUmakerules