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-11-29 08:41:06 -06:00
|
|
|
MANPAGES = libgetdns.3 getdns_address.3
|
2013-11-21 19:39:03 -06:00
|
|
|
|
|
|
|
default: all
|
|
|
|
|
|
|
|
all: doc
|
|
|
|
|
2013-11-29 08:41:06 -06:00
|
|
|
doc: $(MANPAGES)
|
2013-11-21 19:39:03 -06:00
|
|
|
cd ../src && doxygen
|
|
|
|
|
2013-11-29 08:41:06 -06:00
|
|
|
libgetdns.3: libgetdns.3.in
|
|
|
|
cp $< $@
|
|
|
|
|
|
|
|
getdns_address.3: getdns_address.3.in
|
|
|
|
cp $< $@
|
|
|
|
|
|
|
|
install: $(MANPAGES)
|
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)
|
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man3
|
|
|
|
$(INSTALL) -m 644 libgetdns.3 $(DESTDIR)$(mandir)/man3
|
|
|
|
$(INSTALL) -m 644 getdns_address.3 $(DESTDIR)$(mandir)/man3
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
rm -f $(DESTDIR)$(mandir)/man3/libgetdns.3
|
|
|
|
rm -f $(DESTDIR)$(mandir)/man3/getdns_address.3
|
|
|
|
|
2013-11-21 19:39:03 -06:00
|
|
|
clean:
|
2013-11-29 08:41:06 -06:00
|
|
|
rm -rf $(DOCDIRS) $(MANPAGES)
|
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)
|