Files
znc/man/Makefile.in
T
psychon debe3ec335 Makefile: Make all output files depend on the Makefile itself
If you now rerun ./configure (e.g. for a different --prefix), everything
will be recompiled.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1205 726aef4b-f618-498e-8847-2d620e286838
2008-09-14 17:57:15 +00:00

19 lines
344 B
Makefile

prefix := @prefix@
exec_prefix := @exec_prefix@
datarootdir := @datarootdir@
mandir := @mandir@
MAN1 := znc.1.gz znc-buildmod.1.gz znc-config.1.gz
all: $(MAN1)
%.1.gz: %.1 Makefile
gzip -9 <$< >$@
clean:
-rm -f $(MAN1)
install: $(MAN1)
mkdir -p $(DESTDIR)$(mandir)/man1
install -m 644 $(MAN1) $(DESTDIR)$(mandir)/man1