summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/interactive_http/Makefile
blob: ca6a1bc37bd82b4eb73c8ee7e31334fcdab481fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
NAME=libDrakX
FNAME=$(NAME)/drakxtools_http
PREFIX=
DATADIR=$(PREFIX)/usr/share

all:

install:	
	install -D miniserv.init $(PREFIX)/etc/init.d/drakxtools_http
	install -D -m 644 miniserv.conf $(PREFIX)/etc/drakxtools_http.conf
	install -D -m 644 miniserv.pam $(PREFIX)/etc/pam.d/miniserv
	install -D -m 644 miniserv.logrotate $(PREFIX)/etc/logrotate.d/drakxtools_http

	install -d $(DATADIR)/$(FNAME)/www
	install -m 644 miniserv.pl miniserv.pem miniserv.users $(DATADIR)/$(FNAME)
	install -m 644 index.html $(DATADIR)/$(FNAME)/www
	install interactive_http.cgi $(DATADIR)/$(FNAME)/www