From dfbf4a9bb1694bb16311b2436cb8ddbc027cfa18 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Fri, 11 Aug 2017 22:04:58 +0200 Subject: [PATCH] Makefile.in: Extract targets related to xmlwf --- expat/Makefile.in | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/expat/Makefile.in b/expat/Makefile.in index 3e98d242..418de268 100644 --- a/expat/Makefile.in +++ b/expat/Makefile.in @@ -80,20 +80,25 @@ check: tests/runtests@EXEEXT@ tests/runtestspp@EXEEXT@ $(MANFILE): $(MAKE) -C doc xmlwf.1 -install: xmlwf/xmlwf@EXEEXT@ installlib $(MANFILE) - $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) - $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf/xmlwf@EXEEXT@ $(DESTDIR)$(bindir)/xmlwf +install: installlib installman installxmlwf + +.PHONY: installman +installman: $(MANFILE) + $(mkinstalldirs) $(DESTDIR)$(man1dir) $(INSTALL_DATA) $(MANFILE) $(DESTDIR)$(man1dir) +.PHONY: installxmlwf +installxmlwf: xmlwf/xmlwf@EXEEXT@ installlib + $(mkinstalldirs) $(DESTDIR)$(bindir) + $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf/xmlwf@EXEEXT@ $(DESTDIR)$(bindir)/xmlwf + installlib: $(LIBRARY) $(APIHEADER) expat.pc $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) $(DESTDIR)$(pkgconfigdir) $(LIBTOOL) --mode=install $(INSTALL) $(LIBRARY) $(DESTDIR)$(libdir)/$(LIBRARY) for FN in $(APIHEADER) ; do $(INSTALL_DATA) $$FN $(DESTDIR)$(includedir) ; done $(INSTALL_DATA) expat.pc $(DESTDIR)$(pkgconfigdir)/expat.pc -uninstall: uninstalllib - $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(bindir)/xmlwf@EXEEXT@ - rm -f $(DESTDIR)$(man1dir)/xmlwf.1 +uninstall: uninstalllib uninstallman uninstallxmlwf uninstalllib: $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(LIBRARY) @@ -101,6 +106,14 @@ uninstalllib: rm -f $(DESTDIR)$(includedir)/expat_external.h rm -f $(DESTDIR)$(pkgconfigdir)/expat.pc +.PHONY: uninstallman +uninstallman: + rm -f $(DESTDIR)$(man1dir)/xmlwf.1 + +.PHONY: uninstallxmlwf +uninstallxmlwf: + $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(bindir)/xmlwf@EXEEXT@ + # for VPATH builds (invoked by configure) mkdir-init: @for d in lib xmlwf examples tests ; do \ -- 2.40.0