Browse Source

add per-script install target

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46687 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 years ago
parent
commit
8d89c23da1
1 changed files with 5 additions and 0 deletions
  1. 5 0
      include/Make/Script.make

+ 5 - 0
include/Make/Script.make

@@ -19,4 +19,9 @@ script: $(SCRIPT_ACTIONS)
 
 scriptstrings: $(STRINGDIR)/$(PGM)_to_translate.c
 
+install:
+	$(INSTALL) $(SCRIPT) $(INST_DIR)/scripts/
+	$(INSTALL_DATA) $(HTMLDIR)/$(PGM).html $(INST_DIR)/docs/html/
+	$(INSTALL_DATA) $(ARCH_DISTDIR)/man/man1/$(PGM).1 $(INST_DIR)/man/man1/
+
 .PHONY: script scriptstrings