30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
-
+
|
[ -f $(DESTDIR)$(sysconfdir)/vws.conf ]|| $(INSTALL) -c -m 644 -o root vws.conf $(DESTDIR)$(sysconfdir)
$(INSTALL) -c -m 644 -o root vws.1 $(DESTDIR)$(mandir)/man1
$(INSTALL) -c -m 644 -o root find_free_port.1 $(DESTDIR)$(mandir)/man1
$(INSTALL) -c -m 644 -o root vws.service $(DESTDIR)$(systemddir)
$(INSTALL) -c -m 644 -o root vws.init $(DESTDIR)$(initddir)/vws
origtarball: vws find_free_port vws.init vws.service.in Makefile vws.conf vws.mkd find_free_port.mkd .pylintrc README.md
version=$$(sed -n 's/VERSION = //p' vws); \
version=$$(sed -n 's/VERSION = "\?\([^"]\+\)"\?/\1/p' vws); \
mkdir vws-$$version; cp $+ vws-$$version; \
tar cjf ../vws_$$version.orig.tar.bz2 vws-$$version; \
rm -rf vws-$$version
deb: origtarball
debuild
|