simple/quotacheck/GNUmakefile

30 lines
501 B
Makefile
Raw Permalink Normal View History

include GNUmakevars
TARGETS = quotacheck quotastat quotasanitycheck
all: $(TARGETS)
clean:
rm -f $(TARGETS) *.bak core foo bar baz *.ps
distclean: clean
rm -f customize
install: $(SBINDIR) $(SBINDIR)/quotacheck $(SBINDIR)/quotastat \
$(SBINDIR)/quotasanitycheck $(MAN8DIR)/quotasanitycheck.8
%: %.pl customize
sh ./customize < $< > $@
chmod +x $@
%: %.sh customize
sh ./customize < $< > $@
chmod +x $@
customize: configure
sh ./configure
$(SBINDIR):
mkdir -p $@
include GNUmakerules