summaryrefslogtreecommitdiff
path: root/pinyconfigs/Makefile
blob: 1bf835f329c35ee2201d770890571801889a6592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
build:

install:
	install -o root -g root -m 755 -d \
	  $(DESTDIR)/etc/apache2/piny/www \
	  $(DESTDIR)/etc/apache2/piny/secure \
	  $(DESTDIR)/etc/apache2/piny/global \
	  $(DESTDIR)/etc/apache2/sites-available \
	  $(DESTDIR)/etc/apache2/conf-available \
	  $(DESTDIR)/etc/cron.weekly \
	  $(DESTDIR)/etc/ikiwiki/wikilist.d \
	  $(DESTDIR)/etc/sudoers.d \
	  $(DESTDIR)/srv/git
	install -o root -g root -m 644 etc/cgitrc etc/piny-default.conf etc/piny-override.conf $(DESTDIR)/etc
	install -o root -g root -m 644 etc/apache2/envvars $(DESTDIR)/etc/apache2
	install -o root -g root -m 644 etc/apache2/sites-available/piny.conf $(DESTDIR)/etc/apache2/sites-available
	install -o root -g root -m 644 etc/apache2/conf-available/piny.conf $(DESTDIR)/etc/apache2/conf-available
	install -o root -g root -m 755 etc/cron.weekly/piny $(DESTDIR)/etc/cron.weekly
	install -o root -g root -m 600 etc/sudoers.d/pinyadmin $(DESTDIR)/etc/sudoers.d

clean: