Commit Diff


commit - 6a603ffe8db39b05928a7913530d980bd4f10aa4
commit + 343280d8286d4c7bfe0b328389109bccc690ebec
blob - 1dc1723750e610a7038f9c2052303baf89c17234
blob + ed37b68bf47f5449b6419a846081c105ff84f270
--- bgpnsh/Makefile
+++ bgpnsh/Makefile
@@ -10,9 +10,9 @@ DEBUG?=-O0 -g
 .endif
 
 .if make(install)
-DESTDIR?=/usr/local
-BINDIR?=/bin
-MANDIR?=/man/man
+PREFIX?=/usr/local
+BINDIR?=${PREFIX}/bin
+MANDIR?=${PREFIX}/man/man
 .endif
 
 CFLAGS+=-Wmissing-prototypes -Wformat -Wall -Wbad-function-cast
blob - 89ad14b1c093f2143b239a8c9c2000cc7feeefad
blob + 7d8f35d36b71fcb33d173f87b45ef68d7d2423b3
--- nshdoas/Makefile
+++ nshdoas/Makefile
@@ -10,9 +10,9 @@ DEBUG?=-O0 -g
 .endif
 
 .if make(install)
-DESTDIR?=/usr/local
-BINDIR?=/libexec
-MANDIR?=/man/man
+PREFIX?=/usr/local
+BINDIR?=${PREFIX}/libexec
+MANDIR?=${PREFIX}/man/man
 .endif
 
 CFLAGS+=-Wmissing-prototypes -Wformat -Wall -Wbad-function-cast