aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorDejan Lesjak <lesi@FreeBSD.org>2005-01-08 17:43:29 +0000
committerDejan Lesjak <lesi@FreeBSD.org>2005-01-08 17:43:29 +0000
commiteb4a1d3895d951814660541387f234a4fef5e020 (patch)
tree8fc75d2a398a602b3b4f6311c83c22454e3240b8 /x11
parentb636decf65e6f5743d23a8518f6df1a2721da6e1 (diff)
Avoid installing empty directory, so we don't have to list it in plist.
Prodded by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=125847
Diffstat (limited to 'x11')
-rw-r--r--x11/resourceext/files/patch-Makefile.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11/resourceext/files/patch-Makefile.in b/x11/resourceext/files/patch-Makefile.in
new file mode 100644
index 000000000000..7de06bc1d18b
--- /dev/null
+++ b/x11/resourceext/files/patch-Makefile.in
@@ -0,0 +1,18 @@
+--- Makefile.in.orig Sat Jan 8 17:25:22 2005
++++ Makefile.in Sat Jan 8 17:26:18 2005
+@@ -178,6 +178,7 @@
+ done
+ resourceextdocDATA_INSTALL = $(INSTALL_DATA)
+ install-resourceextdocDATA: $(resourceextdoc_DATA)
++ifneq ($(resourceextdoc_DATA),)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(resourceextdocdir)
+ @list='$(resourceextdoc_DATA)'; for p in $$list; do \
+@@ -186,6 +187,7 @@
+ echo " $(resourceextdocDATA_INSTALL) $$d$$p $(DESTDIR)$(resourceextdocdir)/$$f"; \
+ $(resourceextdocDATA_INSTALL) $$d$$p $(DESTDIR)$(resourceextdocdir)/$$f; \
+ done
++endif
+
+ uninstall-resourceextdocDATA:
+ @$(NORMAL_UNINSTALL)