1 man_MANS = geoipupdate.1 GeoIP.conf.5 2 3 EXTRA_DIST = geoipupdate.1.in GeoIP.conf.5.in 4 5 edit = sed \ 6 -e 's|DATADIR|$(datadir)/GeoIP|g' \ 7 -e 's|CONF_DIR|$(sysconfdir)|g' 8 9 GeoIP.conf.5: Makefile 10 rm -f $@ $@.tmp 11 $(edit) '$(srcdir)/$@.in' >$@.tmp 12 mv $@.tmp $@ 13 14 GeoIP.conf.5: GeoIP.conf.5.in 15 16 geoipupdate.1: Makefile 17 rm -f $@ $@.tmp 18 $(edit) '$(srcdir)/$@.in' >$@.tmp 19 mv $@.tmp $@ 20 21 geoipupdate.1: geoipupdate.1.in 22 23 CLEANFILES = geoipupdate.1 GeoIP.conf.5