summaryrefslogtreecommitdiff
blob: 02cced160847e120b5e48536ea2f069c9148b4fa (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
25
Fix man paths

http://bugs.gentoo.org/show_bug.cgi?id=326185

--- src/bin/nonbonded/Makefile.in
+++ src/bin/nonbonded/Makefile.in
@@ -19,5 +19,5 @@
 endif
 
 install_man:: nonbonded.1
-	$(MKDIRS) $(mandir)/man1
-	$(INSTALL_INCLUDE) $^ $(mandir)/man1
+	$(MKDIRS) $(DESTDIR)$(mandir)/man1
+	$(INSTALL_INCLUDE) $^ $(DESTDIR)$(mandir)/man1
--- src/bin/intder/Makefile.in
+++ src/bin/intder/Makefile.in
@@ -21,6 +21,6 @@
 endif
 
 install_man:: intder.1
-	$(MKDIRS) $(mandir)/man1
-	$(INSTALL_INCLUDE) $^ $(mandir)/man1
+	$(MKDIRS) $(DESTDIR)$(mandir)/man1
+	$(INSTALL_INCLUDE) $^ $(DESTDIR)$(mandir)/man1