From 789d7a2a8eabb75bdc7d13d34b07bc219252b084 Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 24 Jan 2001 16:36:06 +0000 Subject: Set paths from the config target git-svn-id: http://svn.leocad.org/trunk@226 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3