prefix = /usr sbindir = $(prefix)/sbin systemddir = $(prefix)/lib/systemd/system confdir = /etc/conf.d all: depends.txt install: \ $(DESTDIR)$(sbindir)/parabolaweb-changepassword \ $(DESTDIR)$(sbindir)/parabolaweb-fcgi \ $(DESTDIR)$(sbindir)/parabolaweb-reporead-inotify \ $(DESTDIR)$(sbindir)/parabolaweb-update \ $(DESTDIR)$(confdir)/parabolaweb \ $(DESTDIR)$(systemddir)/parabolaweb.service \ $(DESTDIR)$(systemddir)/parabolaweb-reporead-inotify.service depends.txt: list-depends depends_static.txt bash $< > $@ %.service: %.service.in sed 's|@sbindir@|$(sbindir)|' < $< > $@ $(DESTDIR)$(sbindir)/%: % install -Dm755 $< $@ $(DESTDIR)$(sbindir)/parabolaweb-changepassword: parabolaweb-changepassword install -Dm7755 $< $@ $(DESTDIR)$(systemddir)/%.service: %.service install -Dm644 $< $@ $(DESTDIR)$(confdir)/%: %.conf install -Dm644 $< $@