blob: 8c4cfe816b63203db55d7d0ae7e3aed5748a788e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,6 +11,7 @@
CLEANFILES = *~ *.orig *.rej
install-data-local:
- $(INSTALL_DATA) urlview.man $(mandir)/man1/urlview.1
+ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
+ $(INSTALL_DATA) urlview.man ${DESTDIR}$(mandir)/man1/urlview.1
# how to create a target for uninstall-data-local???
--- a/Makefile.in
+++ b/Makefile.in
@@ -318,7 +318,8 @@
install-data-local:
- $(INSTALL_DATA) urlview.man $(mandir)/man1/urlview.1
+ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
+ $(INSTALL_DATA) urlview.man $(DESTDIR)$(mandir)/man1/urlview.1
# how to create a target for uninstall-data-local???
|