]> diplodocus.org Git - nmh/blob - docs/Makefile.in
Wrapped #include of config.h with #ifdef HAVE_CONFIG_H, just in case someone ever...
[nmh] / docs / Makefile.in
1 #
2 # Makefile for h subdirectory
3 #
4
5 SHELL = /bin/sh
6
7 top_srcdir = @top_srcdir@
8 srcdir = @srcdir@
9 docdir = @docdir@
10 datarootdir = @datarootdir@
11 VPATH = @srcdir@
12
13 # files included in distribution
14 TOPDIR_FILES_TO_INSTALL = COPYRIGHT VERSION
15 FILES_TO_INSTALL = COMPLETION-BASH COMPLETION-TCSH COMPLETION-ZSH \
16 DIFFERENCES FAQ MAIL.FILTERING MAILING-LISTS \
17 README-ATTACHMENTS README-HOOKS README.about \
18 README.SASL README.developers README.manpages \
19 TODO
20 FILES = $(FILES_TO_INSTALL) \
21 ChangeLog_MH-3_to_MH-6.6 ChangeLog_MH-6.7.0_to_MH-6.8.4.html
22
23 # auxiliary files
24 AUX = Makefile.in
25
26 # all files in this directory included in the distribution
27 DIST = $(FILES) $(AUX)
28
29 INSTALL = @INSTALL@
30 INSTALL_DATA = @INSTALL_DATA@
31
32 # ========== DEPENDENCIES FOR BUILDING AND INSTALLING ==========
33
34 all:
35
36 install: all
37 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)
38 for file in $(TOPDIR_FILES_TO_INSTALL); do \
39 $(INSTALL_DATA) $(top_srcdir)/$$file $(DESTDIR)$(docdir); \
40 done
41 for file in $(FILES_TO_INSTALL); do \
42 $(INSTALL_DATA) $$file $(DESTDIR)$(docdir); \
43 done
44
45 uninstall:
46 for file in $(TOPDIR_FILES_TO_INSTALL) $(FILES_TO_INSTALL); do \
47 $(RM) $(DESTDIR)$(docdir)/$$file; \
48 done
49
50 lint:
51
52 # ========== DEPENDENCIES FOR CLEANUP ==========
53
54 mostlyclean:
55 rm -f *~
56
57 clean: mostlyclean
58
59 distclean: clean
60 rm -f Makefile
61
62 realclean: distclean
63
64 superclean: realclean
65
66 # ========== DEPENDENCIES FOR MAINTENANCE ==========
67
68 subdir = docs
69
70 Makefile: Makefile.in ../config.status
71 cd .. && ./config.status $(subdir)/$@
72
73 distdir = ../`cat ../distname`/$(subdir)
74 nmhdist:
75 @echo "Copying distribution files in $(subdir)"
76 @for file in $(DIST); do \
77 cp -p $(srcdir)/$$file $(distdir); \
78 done