simple/prwtmp/GNUmakefile

25 lines
384 B
Makefile
Raw Permalink Normal View History

include GNUmakevars
include GNUmakerules
prwtmp:
install: $(ROOT)/usr/local/bin/prwtmp $(ROOT)/usr/local/man/man8/prwtmp.8
clean:
rm prwtmp
distclean: clean
rm GNUmakerules GNUmakevars
$(ROOT)/usr/local/bin/%: %
$(INSTALL) $< $@
$(ROOT)/usr/local/man/man8/%.8: %.man
$(INSTALL) $< $@
GNUmakevars: GNUmakevars.sh
sh ./$^ > $@
GNUmakerules: GNUmakerules.pl
perl ./$^ > $@
2016-07-05 22:01:48 +02:00