summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorleo2001-01-24 16:36:06 +0000
committerleo2001-01-24 16:36:06 +0000
commit789d7a2a8eabb75bdc7d13d34b07bc219252b084 (patch)
tree5c0fd4cd89e77f1a71d4278dcb0e1f895ce4cb74 /Makefile
parent04f9a98690d8de6571151a624ce2eb324c51ec5b (diff)
Set paths from the config target
git-svn-id: http://svn.leocad.org/trunk@226 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index aeca41a..dfa7b56 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ bin:
### include the C/C++ include
### dependencies
-ifeq ($(findstring $(MAKECMDGOALS), config clean veryclean spotless), )
+ifeq ($(findstring $(MAKECMDGOALS), help config-help config clean veryclean spotless), )
-include $(OBJ:.o=.d)
endif
@@ -103,8 +103,10 @@ arch:
mkdir arch
install: $(BIN)
- install -c -m 0755 $(BIN) $(PREFIX)/bin
- install -c -m 0644 docs/leocad.1 $(PREFIX)/man/man1
+ install -d $(DESTDIR)$(PREFIX)/bin
+ install -d $(DESTDIR)$(PREFIX)/share/man/man1
+ install -c -m 0755 $(BIN) $(DESTDIR)$(PREFIX)/bin/
+ install -c -m 0644 docs/leocad.1 $(DESTDIR)$(PREFIX)/share/man/man1/
binary: binary-zip binary-tgz