summaryrefslogtreecommitdiff
path: root/graphics/tinyows/files/patch-Makefile.in
blob: 153c85d4e9e044dac077083e7529ef724bad197d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- Makefile.in.orig	2021-06-11 15:17:18 UTC
+++ Makefile.in
@@ -43,10 +43,10 @@ clean: 
 
 install:
 	@echo "-----"
-	@echo "TinyOWS Schema install dir in $(PREFIX)/share/tinyows/schema"
-	mkdir -p $(PREFIX)/share/tinyows
-	rm -rf $(PREFIX)/share/tinyows/schema
-	cp -rf schema $(PREFIX)/share/tinyows/
+	@echo "TinyOWS Schema install dir in $(DESTDIR)$(PREFIX)/share/tinyows/schema"
+	mkdir -p $(DESTDIR)$(PREFIX)/share/tinyows
+	rm -rf $(DESTDIR)$(PREFIX)/share/tinyows/schema
+	cp -rf schema $(DESTDIR)$(PREFIX)/share/tinyows/
 	@echo "-----"
 	@echo "Now:"
 	@echo " 1) copy 'tinyows' binary to cgi-bin directory"