mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 12:00:31 +01:00
wmlib: Remove install-exec-local target.
This was made redundant by defining pkgconfigdir and pkgconfig_DATA. On some systems (with automake < 1.15), this caused a build failure, e.g., [1]: /usr/bin/install -c -m 644 wmlib.pc /«BUILDDIR»/wmaker-0.95.7+201601230517/ debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig/ /usr/bin/install -c -m 644 wmlib.pc '/«BUILDDIR»/wmaker-0.95.7+201601230517/ debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig' /usr/bin/install: cannot create regular file '/«BUILDDIR»/ wmaker-0.95.7+201601230517/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig/ wmlib.pc': File exists Also change the definition of DISTCLEANFILES to pkgconfig_DATA to match the Makefiles for WINGs and wrlib. [1] https://launchpadlibrarian.net/234989800/ buildlog_ubuntu-precise-amd64.wmaker_0.95.7+201601230517-0ppa201601211606~ ubuntu12.04.1_BUILDING.txt.gz
This commit is contained in:
committed by
Carlos R. Mafra
parent
af892d7dd6
commit
bf6f81434b
@@ -21,7 +21,7 @@ libWMaker_la_SOURCES = \
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = wmlib.pc
|
||||
|
||||
DISTCLEANFILES = wmlib.pc
|
||||
DISTCLEANFILES = $(pkgconfig_DATA)
|
||||
|
||||
wmlib.pc: Makefile
|
||||
@echo "Generating $@"
|
||||
@@ -31,13 +31,3 @@ wmlib.pc: Makefile
|
||||
@echo 'Requires: x11' >> $@
|
||||
@echo 'Libs: $(lib_search_path) -lWMaker' >> $@
|
||||
@echo 'Cflags: $(inc_search_path)' >> $@
|
||||
|
||||
install-exec-local:
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
|
||||
@list='wmlib.pc'; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
echo "$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/"; \
|
||||
$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user