aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/gettext-full/patches/001-autotools.patch
blob: 4b1799f5206d3fc2b318c64639b1c6913df8580b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/gettext-runtime/man/Makefile.am
+++ b/gettext-runtime/man/Makefile.am
@@ -172,8 +172,7 @@ textdomain.3.html: textdomain.3.in
 bindtextdomain.3.html: bindtextdomain.3.in
 bind_textdomain_codeset.3.html: bind_textdomain_codeset.3.in
 
-install-html-local:
-	$(MKDIR_P) $(DESTDIR)$(htmldir)
+install-html: installdirs-html
 	for file in $(man_HTML); do \
 	  if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
 	  $(INSTALL_DATA) $$dir/$$file $(DESTDIR)$(htmldir)/$$file; \
--- a/gettext-tools/man/Makefile.am
+++ b/gettext-tools/man/Makefile.am
@@ -153,8 +153,7 @@ recode-sr-latin.1.html: recode-sr-latin.
 gettextize.1.html: gettextize.1
 autopoint.1.html: autopoint.1
 
-install-html-local:
-	$(MKDIR_P) $(DESTDIR)$(htmldir)
+install-html: installdirs-html
 	for file in $(man_HTML); do \
 	  if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
 	  $(INSTALL_DATA) $$dir/$$file $(DESTDIR)$(htmldir)/$$file; \