Lines 1-5
Link Here
|
1 |
--- Makefile.orig 2008-03-16 00:44:45.000000000 +0100 |
1 |
--- Makefile.orig 2008-03-15 16:44:45.000000000 -0700 |
2 |
+++ Makefile 2008-09-26 19:44:38.000000000 +0200 |
2 |
+++ Makefile 2014-05-19 08:49:23.000000000 -0700 |
3 |
@@ -13,13 +13,14 @@ |
3 |
@@ -13,13 +13,14 @@ |
4 |
rm -f *~ src/*~ |
4 |
rm -f *~ src/*~ |
5 |
|
5 |
|
Lines 11-23
Link Here
|
11 |
- install -b -m 644 docs/*.txt $(ROOT)/docs |
11 |
- install -b -m 644 docs/*.txt $(ROOT)/docs |
12 |
- install -b bin/update-countries.sh src/httpd/convert-ranges src/httpd/convert-geoip $(ROOT)/bin |
12 |
- install -b bin/update-countries.sh src/httpd/convert-ranges src/httpd/convert-geoip $(ROOT)/bin |
13 |
- install -b -m 6755 -o $(OWNER) -g $(GROUP) src/httpd/0W-httpd $(ROOT)/bin |
13 |
- install -b -m 6755 -o $(OWNER) -g $(GROUP) src/httpd/0W-httpd $(ROOT)/bin |
14 |
+ test -d $(ROOT)/0W-httpd || (mkdir $(ROOT)/0W-httpd) |
14 |
+ test -d $(DESTDIR)$(ROOT)/0W-httpd || (mkdir $(DESTDIR)$(ROOT)/0W-httpd) |
15 |
+ install -d $(ROOT)/0W-httpd/data $(ROOT)/0W-httpd/logs $(ROOT)/0W-httpd/pids |
15 |
+ install -d $(DESTDIR)$(ROOT)/0W-httpd/data $(DESTDIR)$(ROOT)/0W-httpd/logs $(DESTDIR)$(ROOT)/0W-httpd/pids |
16 |
+ install -m 755 bin/update-countries.sh src/httpd/convert-ranges src/httpd/convert-geoip $(ROOT)/bin |
16 |
+ install -m 755 bin/update-countries.sh src/httpd/convert-ranges src/httpd/convert-geoip $(DESTDIR)$(ROOT)/bin |
17 |
+ install -m 6755 -o $(OWNER) -g $(GROUP) src/httpd/0W-httpd $(ROOT)/sbin |
17 |
+ install -m 6755 -o $(OWNER) -g $(GROUP) src/httpd/0W-httpd $(DESTDIR)$(ROOT)/sbin |
18 |
+ test -d $(ROOT)/etc/0W-httpd || (mkdir $(ROOT)/etc/0W-httpd && cd conf/ && \ |
18 |
+ test -d $(DESTDIR)$(ROOT)/etc/0W-httpd || (mkdir $(DESTDIR)$(ROOT)/etc/0W-httpd && cd conf/ && \ |
19 |
+ cp countries* $(ROOT)/etc/0W-httpd/ && \ |
19 |
+ cp countries* $(DESTDIR)$(ROOT)/etc/0W-httpd/ && \ |
20 |
+ cp httpd.conf $(ROOT)/etc/0W-httpd/httpd.conf.sample ) |
20 |
+ cp httpd.conf $(DESTDIR)$(ROOT)/etc/0W-httpd/httpd.conf.sample ) |
21 |
+ chown -R $(OWNER):$(GROUP) $(ROOT)/sbin/0W-httpd $(ROOT)/0W-httpd/logs $(ROOT)/0W-httpd/data $(ROOT)/0W-httpd/pids |
21 |
+ chown -R $(OWNER):$(GROUP) $(DESTDIR)$(ROOT)/sbin/0W-httpd $(DESTDIR)$(ROOT)/0W-httpd/logs $(DESTDIR)$(ROOT)/0W-httpd/data $(DESTDIR)$(ROOT)/0W-httpd/pids |
22 |
@echo |
22 |
@echo |
23 |
@echo "Installed, run as root: $(ROOT)/bin/0W-httpd [-h]" |
23 |
@echo "Installed, run as root: $(ROOT)/bin/0W-httpd [-h]" |
|
|
24 |
|