updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / muhttpd / muhttpd-makefile.diff
blob22f075096cb1b341a03eb306248bb38ceb3b221b
1 --- Makefile.orig 2007-09-12 11:31:56.000000000 +0200
2 +++ Makefile 2009-06-29 23:57:03.000000000 +0200
3 @@ -18,15 +18,11 @@
4 install : install-package install-bin install-etc install-log install-man
6 install-package : all
7 - [ -d "$(PACKAGEDIR)" ] || mkdir -p "$(PACKAGEDIR)"
8 - [ -d "$(PACKAGEDIR)/sbin" ] || mkdir -p "$(PACKAGEDIR)/sbin"
9 - [ -d "$(PACKAGEDIR)/etc" ] || mkdir -p "$(PACKAGEDIR)/etc"
10 - [ -d "$(PACKAGEDIR)/man/man5" ] || mkdir -p "$(PACKAGEDIR)/man/man5"
11 - [ -d "$(PACKAGEDIR)/man/man8" ] || mkdir -p "$(PACKAGEDIR)/man/man8"
12 - cp $(TARGETS) "$(PACKAGEDIR)/sbin"
13 - cp conf/* "$(PACKAGEDIR)/etc"
14 - cp muhttpd.conf.5 "$(PACKAGEDIR)/man/man5"
15 - cp muhttpd.8 "$(PACKAGEDIR)/man/man8"
16 + install -Dps $(TARGETS) "$(PREFIX)/sbin/$(TARGETS)"
17 + install -Dp -m644 conf/muhttpd.conf "$(PREFIX)/etc/$(TARGETS)/muhttpd.conf"
18 + install -Dp -m644 conf/types.conf "$(PREFIX)/etc/$(TARGETS)/types.conf"
19 + install -Dp -m644 muhttpd.conf.5 "$(PREFIX)/usr/share/man/man5/muhttpd.conf.5"
20 + install -Dp -m644 muhttpd.8 "$(PREFIX)/usr/share/man/man8/muhttpd.8"
22 install-bin :
23 [ -d "$(SBINDIR)" ] || mkdir -p "$(SBINDIR)"