File: Makefile.in

package info (click to toggle)
hypermail 2.2.0.dfsg-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,636 kB
  • ctags: 3,069
  • sloc: ansic: 34,221; sh: 15,510; yacc: 844; perl: 744; makefile: 737; python: 292
file content (58 lines) | stat: -rw-r--r-- 1,592 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# Hypermail documentation make file
#
# This is where the man page goes

prefix=@prefix@

# Man page base directory
mandir=@mandir@

# This is where the HTML documentation goes
htmldir=@htmldir@

# Installation program 
INSTALL_PROG=@INSTALL@ 

all:   install
	
uninstall: 
	rm -f $(mandir)/man1/hypermail.1
	rm -f $(mandir)/man4/hmrc.4
	(if [ -d $(htmldir) ]; then \
		rm -f $(htmldir)/hr.yellow.png; \
		rm -f $(htmldir)/hypermail.png; \
		rm -f $(htmldir)/stars.png; \
		rm -f $(htmldir)/archive_search.html; \
		rm -f $(htmldir)/hypermail.html; \
		rm -f $(htmldir)/hypermail-faq.html; \
		rm -f $(htmldir)/customizing.html; \
		rm -f $(htmldir)/hmrc.html; \
		rmdir $(htmldir); \
	fi)

#install: install.man install.html
install: #We dont need it

install.man:
	@(if [ ! -d $(mandir) ]; then mkdir -p $(mandir); fi)
	@(if [ ! -d $(mandir)/man1 ]; then mkdir -p $(mandir)/man1; fi)
	@(if [ ! -d $(mandir)/man4 ]; then mkdir -p $(mandir)/man4; fi)
	$(INSTALL_PROG) -c -m 0644 hypermail.1 $(mandir)/man1
	$(INSTALL_PROG) -c -m 0644 hmrc.4 $(mandir)/man4

install.html:
	@(if [ ! -d $(htmldir) ]; then mkdir -p $(htmldir); fi)
	$(INSTALL_PROG) -c -m 0644 hr.yellow.png $(htmldir)
	$(INSTALL_PROG) -c -m 0644 hypermail.png $(htmldir)
	$(INSTALL_PROG) -c -m 0644 stars.png $(htmldir)
	$(INSTALL_PROG) -c -m 0644 archive_search.html $(htmldir)
	$(INSTALL_PROG) -c -m 0644 hypermail.html $(htmldir)
	$(INSTALL_PROG) -c -m 0644 hypermail-faq.html $(htmldir)
	$(INSTALL_PROG) -c -m 0644 customizing.html $(htmldir)
	$(INSTALL_PROG) -c -m 0644 hmrc.html $(htmldir)

clean:
clobber:
distclean:
w: