Fixed install target

This commit is contained in:
Marcus Sundberg 2000-01-08 21:35:03 +00:00
parent 0863dfcaab
commit 219acb9ce1
3 changed files with 9 additions and 6 deletions

View file

@ -14,6 +14,7 @@ BIN_PREFIX = qw-client
DESTDIR = DESTDIR =
prefix = @prefix@ prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@ bindir = @bindir@
mandir = @mandir@ mandir = @mandir@
@ -444,10 +445,10 @@ clean: clean-soft clean-gl $(CLEAN_TARGETS)
-rmdir $(BUILD_DIR) -rmdir $(BUILD_DIR)
install: $(targets) install: $(targets)
$(PROJECT_DIR)/mkinstalldirs $(DESTDIR)$(prefix)$(bindir) $(PROJECT_DIR)/mkinstalldirs $(DESTDIR)/$(bindir)
for i in $(targets); do \ for i in $(targets); do \
$(PROJECT_DIR)/install-sh -m 755 $(BUILD_DIR)/../$$i \ $(PROJECT_DIR)/install-sh -m 755 $(BUILD_DIR)/../$$i \
$(DESTDIR)$(prefix)$(bindir)/$$i; \ $(DESTDIR)/$(bindir)/$$i; \
done done
check: check:

View file

@ -14,6 +14,7 @@ BIN_PREFIX = qw-server
DESTDIR = DESTDIR =
prefix = @prefix@ prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@ bindir = @bindir@
mandir = @mandir@ mandir = @mandir@
@ -123,10 +124,10 @@ clean: $(CLEAN_TARGETS)
rm -rf $(BUILD_DIR) rm -rf $(BUILD_DIR)
install: $(targets) install: $(targets)
$(PROJECT_DIR)/mkinstalldirs $(DESTDIR)$(prefix)$(bindir) $(PROJECT_DIR)/mkinstalldirs $(DESTDIR)/$(bindir)
for i in $(targets); do \ for i in $(targets); do \
$(PROJECT_DIR)/install-sh -m 755 $(BUILD_DIR)/../$$i \ $(PROJECT_DIR)/install-sh -m 755 $(BUILD_DIR)/../$$i \
$(DESTDIR)$(prefix)$(bindir)/$$i; \ $(DESTDIR)/$(bindir)/$$i; \
done done
check: check:

View file

@ -13,6 +13,7 @@ BIN_PREFIX = quake
DESTDIR = DESTDIR =
prefix = @prefix@ prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@ bindir = @bindir@
mandir = @mandir@ mandir = @mandir@
@ -482,10 +483,10 @@ clean: clean-soft clean-gl $(CLEAN_TARGETS)
-rmdir $(BUILD_DIR) -rmdir $(BUILD_DIR)
install: $(targets) install: $(targets)
$(PROJECT_DIR)/mkinstalldirs $(DESTDIR)$(prefix)$(bindir) $(PROJECT_DIR)/mkinstalldirs $(DESTDIR)/$(bindir)
for i in $(targets); do \ for i in $(targets); do \
$(PROJECT_DIR)/install-sh -m 755 $(BUILD_DIR)/../$$i \ $(PROJECT_DIR)/install-sh -m 755 $(BUILD_DIR)/../$$i \
$(DESTDIR)$(prefix)$(bindir)/$$i; \ $(DESTDIR)/$(bindir)/$$i; \
done done
check: check: