diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 12:31:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 12:31:55 +0000 |
commit | cd6cce235837a74b252a369bcc40e7b93f91cee4 (patch) | |
tree | 7049356b06fcdcdaf9dbae476f55a43942e7c25f /man/Makefile.am | |
parent | Initial commit. (diff) | |
download | geoip-cd6cce235837a74b252a369bcc40e7b93f91cee4.tar.xz geoip-cd6cce235837a74b252a369bcc40e7b93f91cee4.zip |
Adding upstream version 1.6.12.upstream/1.6.12upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man/Makefile.am')
-rw-r--r-- | man/Makefile.am | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/man/Makefile.am b/man/Makefile.am new file mode 100644 index 0000000..1615d54 --- /dev/null +++ b/man/Makefile.am @@ -0,0 +1,26 @@ +man_MANS = geoiplookup6.1 geoiplookup.1 + +EXTRA_DIST = geoiplookup6.1.in geoiplookup.1.in + + +edit = sed \ + -e 's|DATADIR|$(pkgdatadir)|g' \ + -e 's|CONF_DIR|$(sysconfdir)|g' + +geoiplookup.1 geoiplookup6.1: Makefile + rm -f $@ $@.tmp + $(edit) '$(srcdir)/$@.in' >$@.tmp + mv $@.tmp $@ + +geoiplookup.1: geoiplookup.1.in +geoiplookup6.1: geoiplookup6.1.in + +CLEANFILES = geoiplookup6.1 geoiplookup.1 + +LOOKUP_MAN = $(mandir)/man1/geoiplookup.1 +LOOKUP6_MAN = $(mandir)/man1/geoiplookup6.1 + +install-data-hook: + cat geoiplookup.1 | sed s,DATADIR,$(pkgdatadir), > $(DESTDIR)$(LOOKUP_MAN) + cat geoiplookup6.1 | sed s,DATADIR,$(pkgdatadir), > $(DESTDIR)$(LOOKUP6_MAN) + |