diff options
author | Asaf Ohaion <asaf@lingnu.com> | 2011-07-03 13:55:45 -0400 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-07-14 21:54:02 -0300 |
commit | e0f1aa4a109dfaa680f5b82ae313f0059919d568 (patch) | |
tree | 02f8de1b9f16b1e959c4e0371d29fb53c426d1a5 /system/incron/fix-make-install.diff | |
parent | 6aad810e26d431cda35d53ae27e8735607fbe3e4 (diff) |
system/incron: Added (inotify cron system)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/incron/fix-make-install.diff')
-rw-r--r-- | system/incron/fix-make-install.diff | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/system/incron/fix-make-install.diff b/system/incron/fix-make-install.diff new file mode 100644 index 000000000000..ef197fc3bb61 --- /dev/null +++ b/system/incron/fix-make-install.diff @@ -0,0 +1,60 @@ +diff -uNr incron-0.5.9/Makefile incron-0.5.9_patched/Makefile +--- incron-0.5.9/Makefile 2009-06-21 23:27:24.000000000 +0300 ++++ incron-0.5.9_patched/Makefile 2011-04-06 18:09:10.661890554 +0300 +@@ -44,33 +44,35 @@ + distclean: clean + + install: all install-man +- [ -d $(PREFIX) ] +- $(INSTALL) -m 04755 -o $(USER) incrontab $(PREFIX)/bin/ +- $(INSTALL) -m 0755 incrond $(PREFIX)/sbin/ +- $(INSTALL) -m 0755 -o $(USER) -d $(USERDATADIR) +- $(INSTALL) -m 0755 -o $(USER) -d $(SYSDATADIR) +- $(INSTALL) -m 0644 -o $(USER) incron.conf.example $(CFGDIR) ++ [ -d $(DESTDIR)$(PREFIX) ] ++ $(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/bin ++ $(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/sbin ++ $(INSTALL) -m 04755 -o $(USER) incrontab $(DESTDIR)$(PREFIX)/bin/ ++ $(INSTALL) -m 0755 incrond $(DESTDIR)$(PREFIX)/sbin/ ++ $(INSTALL) -m 0755 -o $(USER) -d $(DESTDIR)$(USERDATADIR) ++ $(INSTALL) -m 0755 -o $(USER) -d $(DESTDIR)$(SYSDATADIR) ++ $(INSTALL) -m 0644 -o $(USER) incron.conf.example $(DESTDIR)$(CFGDIR) + + install-man: incrontab.1 incrontab.5 incrond.8 incron.conf.5 +- $(INSTALL) -m 0755 -d $(MANPATH)/man1 +- $(INSTALL) -m 0755 -d $(MANPATH)/man5 +- $(INSTALL) -m 0755 -d $(MANPATH)/man8 +- $(INSTALL) -m 0644 incrontab.1 $(MANPATH)/man1 +- $(INSTALL) -m 0644 incrontab.5 $(MANPATH)/man5 +- $(INSTALL) -m 0644 incrond.8 $(MANPATH)/man8 +- $(INSTALL) -m 0644 incron.conf.5 $(MANPATH)/man5 ++ $(INSTALL) -m 0755 -d $(DESTDIR)$(MANPATH)/man1 ++ $(INSTALL) -m 0755 -d $(DESTDIR)$(MANPATH)/man5 ++ $(INSTALL) -m 0755 -d $(DESTDIR)$(MANPATH)/man8 ++ $(INSTALL) -m 0644 incrontab.1 $(DESTDIR)$(MANPATH)/man1 ++ $(INSTALL) -m 0644 incrontab.5 $(DESTDIR)$(MANPATH)/man5 ++ $(INSTALL) -m 0644 incrond.8 $(DESTDIR)$(MANPATH)/man8 ++ $(INSTALL) -m 0644 incron.conf.5 $(DESTDIR)$(MANPATH)/man5 + + uninstall: uninstall-man +- [ -d $(PREFIX) ] +- rm -f $(PREFIX)/bin/incrontab +- rm -f $(PREFIX)/sbin/incrond +- rm -f $(CFGDIR)/incron.conf.example ++ [ -d $(DESTDIR)$(PREFIX) ] ++ rm -f $(DESTDIR)$(PREFIX)/bin/incrontab ++ rm -f $(DESTDIR)$(PREFIX)/sbin/incrond ++ rm -f $(DESTDIR)$(CFGDIR)/incron.conf.example + + uninstall-man: +- rm -f $(MANPATH)/man1/incrontab.1 +- rm -f $(MANPATH)/man5/incrontab.5 +- rm -f $(MANPATH)/man8/incrond.8 +- rm -f $(MANPATH)/man5/incron.conf.5 ++ rm -f $(DESTDIR)$(MANPATH)/man1/incrontab.1 ++ rm -f $(DESTDIR)$(MANPATH)/man5/incrontab.5 ++ rm -f $(DESTDIR)$(MANPATH)/man8/incrond.8 ++ rm -f $(DESTDIR)$(MANPATH)/man5/incron.conf.5 + + update: uninstall install + |