Renamed grouplist groupmatch to *.pl to make shebang configurable.
This commit is contained in:
parent
7227f9bb20
commit
cd3d0fa151
|
@ -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
|
Loading…
Reference in New Issue