Subversion Repositories public

Rev

Rev 69 | Rev 102 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 69 Rev 75
Line 49... Line 49...
49
	$(INSTALL) -m 0755 -o $(USER) -d $(USERDATADIR)
49
	$(INSTALL) -m 0755 -o $(USER) -d $(USERDATADIR)
50
	$(INSTALL) -m 0755 -o $(USER) -d $(SYSDATADIR)
50
	$(INSTALL) -m 0755 -o $(USER) -d $(SYSDATADIR)
51
	$(INSTALL) -m 0644 -o $(USER) incron.conf.example $(CFGDIR)
51
	$(INSTALL) -m 0644 -o $(USER) incron.conf.example $(CFGDIR)
52
52
53
install-man:	incrontab.1 incrontab.5 incrond.8
53
install-man:	incrontab.1 incrontab.5 incrond.8 incron.conf.5
54
	$(INSTALL) -m 0755 -d $(MANPATH)/man1
54
	$(INSTALL) -m 0755 -d $(MANPATH)/man1
55
	$(INSTALL) -m 0755 -d $(MANPATH)/man5
55
	$(INSTALL) -m 0755 -d $(MANPATH)/man5
56
	$(INSTALL) -m 0755 -d $(MANPATH)/man8
56
	$(INSTALL) -m 0755 -d $(MANPATH)/man8
57
	$(INSTALL) -m 0644 incrontab.1 $(MANPATH)/man1
57
	$(INSTALL) -m 0644 incrontab.1 $(MANPATH)/man1
58
	$(INSTALL) -m 0644 incrontab.5 $(MANPATH)/man5
58
	$(INSTALL) -m 0644 incrontab.5 $(MANPATH)/man5
59
	$(INSTALL) -m 0644 incrond.8 $(MANPATH)/man8
59
	$(INSTALL) -m 0644 incrond.8 $(MANPATH)/man8
60
60
	$(INSTALL) -m 0644 incron.conf.5 $(MANPATH)/man5
-
 
61
61
uninstall:	uninstall-man
62
uninstall:	uninstall-man
62
	[ -d $(PREFIX) ]
63
	[ -d $(PREFIX) ]
63
	rm -f $(PREFIX)/bin/incrontab
64
	rm -f $(PREFIX)/bin/incrontab
64
	rm -f $(PREFIX)/sbin/incrond
65
	rm -f $(PREFIX)/sbin/incrond
65
	rm -f $(CFGDIR)/incron.conf.example
66
	rm -f $(CFGDIR)/incron.conf.example
66
67
67
uninstall-man:
68
uninstall-man:
68
	rm -f $(MANPATH)/man1/incrontab.1
69
	rm -f $(MANPATH)/man1/incrontab.1
69
	rm -f $(MANPATH)/man5/incrontab.5
70
	rm -f $(MANPATH)/man5/incrontab.5
70
	rm -f $(MANPATH)/man8/incrontab.8
71
	rm -f $(MANPATH)/man8/incrond.8
71
72
	rm -f $(MANPATH)/man5/incron.conf.5
-
 
73
72
update:		uninstall install
74
update:		uninstall install
73
75
74
release:
76
release:
75
	doxygen
77
	doxygen
76
	mkdir -p $(RELEASEDIR)
78
	mkdir -p $(RELEASEDIR)
Line 78... Line 80...
78
	cp *.h $(RELEASEDIR)
80
	cp *.h $(RELEASEDIR)
79
	cp *.cpp $(RELEASEDIR)
81
	cp *.cpp $(RELEASEDIR)
80
	cp incron.conf.example $(RELEASEDIR)
82
	cp incron.conf.example $(RELEASEDIR)
81
	cp Makefile CHANGELOG COPYING LICENSE-GPL LICENSE-LGPL LICENSE-X11 README TODO VERSION $(RELEASEDIR)
83
	cp Makefile CHANGELOG COPYING LICENSE-GPL LICENSE-LGPL LICENSE-X11 README TODO VERSION $(RELEASEDIR)
82
	cp incrond.8 incrontab.1 incrontab.5 $(RELEASEDIR)
84
	cp incrond.8 incrontab.1 incrontab.5 incron.conf.5 $(RELEASEDIR)
83
	tar -c -f $(RELEASE).tar -C $(RELEASEDIR)/.. $(RELEASE)
85
	tar -c -f $(RELEASE).tar -C $(RELEASEDIR)/.. $(RELEASE)
84
	bzip2 -9 $(RELEASE).tar
86
	bzip2 -9 $(RELEASE).tar
85
	tar -c -f $(RELEASE).tar -C $(RELEASEDIR)/.. $(RELEASE)
87
	tar -c -f $(RELEASE).tar -C $(RELEASEDIR)/.. $(RELEASE)
86
	gzip --best $(RELEASE).tar
88
	gzip --best $(RELEASE).tar
87
	echo #!/bin/sh > myzip
89
	echo #!/bin/sh > myzip
88
	echo cd $(RELEASEDIR)/.. >> myzip
90
	echo cd $(RELEASEDIR)/.. >> myzip