2013-11-21 19:39:03 -06:00
|
|
|
#
|
|
|
|
# @configure_input@
|
|
|
|
#
|
|
|
|
|
|
|
|
package = @PACKAGE_NAME@
|
|
|
|
version = @PACKAGE_VERSION@
|
|
|
|
tarname = @PACKAGE_TARNAME@
|
|
|
|
distdir = $(tarname)-$(version)
|
|
|
|
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
2013-11-29 08:41:06 -06:00
|
|
|
# datarootdir is here to please some checkers
|
|
|
|
datarootdir=@datarootdir@
|
|
|
|
mandir = @mandir@
|
|
|
|
INSTALL = @INSTALL@
|
2013-11-21 19:39:03 -06:00
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
DOCDIRS = html latex man
|
2013-12-10 03:32:57 -06:00
|
|
|
MANPAGES3 = libgetdns.3 getdns_address.3 getdns_dict.3 getdns_general.3 getdns_hostname.3 getdns_service.3
|
2013-11-21 19:39:03 -06:00
|
|
|
|
|
|
|
default: all
|
|
|
|
|
|
|
|
all: doc
|
|
|
|
|
2013-12-10 03:32:57 -06:00
|
|
|
doc: $(MANPAGES3)
|
2013-11-21 19:39:03 -06:00
|
|
|
cd ../src && doxygen
|
|
|
|
|
2013-12-10 03:32:57 -06:00
|
|
|
.SUFFIXES: .3.in .3
|
|
|
|
.3.in.3:
|
2013-11-29 08:41:06 -06:00
|
|
|
cp $< $@
|
|
|
|
|
2013-12-10 03:32:57 -06:00
|
|
|
install: $(MANPAGES3)
|
2013-11-29 08:41:06 -06:00
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)
|
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man3
|
2013-12-10 03:32:57 -06:00
|
|
|
for x in $(MANPAGES3); do echo $(INSTALL) -m 644 $$x $(DESTDIR)$(mandir)/man3; $(INSTALL) -m 644 $$x $(DESTDIR)$(mandir)/man3; done
|
2013-11-29 08:41:06 -06:00
|
|
|
|
|
|
|
uninstall:
|
2013-12-10 03:32:57 -06:00
|
|
|
for x in $(MANPAGES3); do echo rm -f $(DESTDIR)$(mandir)/man3/$$x; rm -f $(DESTDIR)$(mandir)/man3/$$x; done
|
2013-11-29 08:41:06 -06:00
|
|
|
|
2013-11-21 19:39:03 -06:00
|
|
|
clean:
|
2013-12-10 03:32:57 -06:00
|
|
|
rm -rf $(DOCDIRS) $(MANPAGES3)
|
2013-11-21 19:39:03 -06:00
|
|
|
|
|
|
|
distclean : clean
|
|
|
|
rm -f Makefile config.status config.log
|
|
|
|
rm -Rf autom4te.cache
|
|
|
|
|
|
|
|
Makefile: Makefile.in ../config.status
|
|
|
|
cd .. && ./config.status $@
|
|
|
|
|
|
|
|
configure.status: configure
|
|
|
|
cd .. && ./config.status --recheck
|
|
|
|
|
|
|
|
.PHONY: clean $(DOC)
|