34 lines
1.4 KiB
Diff
34 lines
1.4 KiB
Diff
--- Makefile.orig 2016-10-16 22:36:18.259994713 +0200
|
|
+++ Makefile 2016-10-16 22:44:28.558985932 +0200
|
|
@@ -122,7 +122,6 @@
|
|
rm -rf $(DISTDIR)
|
|
install -d -m 755 $(DISTDIR) $(DISTDIR)/src $(DISTDIR)/doc $(DISTDIR)/examples
|
|
install -m 755 src/ferm src/import-ferm $(DISTDIR)/src
|
|
- install -m 644 ferm.service $(DISTDIR)
|
|
install -m 644 doc/ferm.pod doc/ferm.txt doc/ferm.html doc/ferm.1 doc/import-ferm.1 $(DISTDIR)/doc
|
|
install -m 644 config.mk Makefile AUTHORS COPYING NEWS README TODO $(DISTDIR)
|
|
install -m 644 $(wildcard examples/*.ferm) $(DISTDIR)/examples
|
|
@@ -137,11 +136,10 @@
|
|
.PHONY: install uninstall
|
|
|
|
install: all
|
|
- install -d -m 755 $(DOCDIR)/examples $(PREFIX)/sbin $(SERVICEDIR)
|
|
+ install -d -m 755 $(DOCDIR)/examples $(PREFIX)/bin $(SERVICEDIR)
|
|
install -m 644 AUTHORS COPYING NEWS README TODO $(DOCDIR)
|
|
install -m 644 examples/*.ferm $(DOCDIR)/examples
|
|
- install -m 755 src/ferm src/import-ferm $(PREFIX)/sbin/
|
|
- install -m 644 ferm.service $(SERVICEDIR)
|
|
+ install -m 755 src/ferm src/import-ferm $(PREFIX)/bin/
|
|
|
|
install -d -m 755 $(DOCDIR) $(MANDIR)
|
|
install -m 644 doc/ferm.txt doc/ferm.html $(DOCDIR)
|
|
@@ -151,8 +149,7 @@
|
|
uninstall:
|
|
rm -rf $(DOCDIR)
|
|
rm -f $(MANDIR)/ferm.1 $(MANDIR)/import-ferm.1
|
|
- rm -f $(SERVICEDIR)/ferm.service
|
|
- rm -f $(PREFIX)/sbin/ferm $(PREFIX)/sbin/import-ferm
|
|
+ rm -f $(PREFIX)/bin/ferm $(PREFIX)/bin/import-ferm
|
|
|
|
#
|
|
# misc targets
|