pod-man-pages-20051015
[openafs.git] / doc / man-pages / Makefile.in
1 # Makefile for AFS man pages
2
3 srcdir=@srcdir@
4 include @TOP_OBJDIR@/src/config/Makefile.config
5
6 MAN1 = \
7         afs_intro.1             \
8         fs.1                    \
9         fs_apropos.1            \
10         fs_checkservers.1       \
11         fs_checkvolumes.1       \
12         fs_cleanacl.1           \
13         fs_copyacl.1            \
14         fs_diskfree.1           \
15         fs_examine.1            \
16         fs_exportafs.1          \
17         fs_flush.1              \
18         fs_flushmount.1         \
19         fs_flushvolume.1        \
20         fs_getcacheparms.1      \
21         fs_getcellstatus.1      \
22         fs_getclientaddrs.1     \
23         fs_getserverprefs.1     \
24         fs_help.1               \
25         fs_listacl.1            \
26         fs_listcells.1          \
27         fs_listquota.1          \
28         fs_lsmount.1            \
29         fs_messages.1           \
30         fs_mkmount.1            \
31         fs_newcell.1            \
32         fs_quota.1              \
33         fs_rmmount.1            \
34         fs_setacl.1             \
35         fs_setcachesize.1       \
36         fs_setcell.1            \
37         fs_setclientaddrs.1     \
38         fs_setquota.1           \
39         fs_setserverprefs.1     \
40         fs_setvol.1             \
41         fs_storebehind.1        \
42         fs_sysname.1            \
43         fs_whereis.1            \
44         fs_whichcell.1          \
45         fs_wscell.1             \
46         klog.1                  \
47         kpasswd.1               \
48         kpwvalid.1              \
49         pts.1                   \
50         pts_adduser.1           \
51         pts_apropos.1           \
52         pts_chown.1             \
53         pts_creategroup.1       \
54         pts_createuser.1        \
55         pts_delete.1            \
56         pts_examine.1           \
57         pts_help.1              \
58         pts_listentries.1       \
59         pts_listmax.1           \
60         pts_listowned.1         \
61         pts_membership.1        \
62         pts_removeuser.1        \
63         pts_rename.1            \
64         pts_setfields.1         \
65         pts_setmax.1
66
67 MAN8 = \
68         afsd.8                  \
69         afsmonitor.8            \
70         backup.8                \
71         backup_adddump.8        \
72         backup_addhost.8        \
73         backup_addvolentry.8    \
74         backup_addvolset.8      \
75         backup_apropos.8        \
76         backup_dbverify.8       \
77         backup_deldump.8        \
78         backup_deletedump.8     \
79         backup_delhost.8        \
80         backup_delvolentry.8    \
81         backup_delvolset.8      \
82         backup_diskrestore.8    \
83         backup_dump.8           \
84         backup_dumpinfo.8       \
85         backup_help.8           \
86         backup_interactive.8    \
87         backup_jobs.8           \
88         backup_kill.8           \
89         backup_labeltape.8      \
90         backup_listdumps.8      \
91         backup_listhosts.8      \
92         backup_listvolsets.8    \
93         backup_quit.8           \
94         backup_readlabel.8      \
95         backup_restoredb.8      \
96         backup_savedb.8         \
97         backup_scantape.8       \
98         backup_setexp.8         \
99         backup_status.8         \
100         backup_volinfo.8        \
101         backup_volrestore.8     \
102         backup_volsetrestore.8  \
103         bos.8                   \
104         bos_addhost.8           \
105         bos_addkey.8            \
106         bos_adduser.8           \
107         bos_apropos.8           \
108         bos_create.8            \
109         bos_delete.8            \
110         bos_exec.8              \
111         bos_getdate.8           \
112         bos_getlog.8            \
113         bos_getrestart.8        \
114         bos_help.8              \
115         bos_install.8           \
116         bos_listhosts.8         \
117         bos_listkeys.8          \
118         bos_listusers.8         \
119         bos_prune.8             \
120         bos_removehost.8        \
121         bos_removekey.8         \
122         bos_removeuser.8        \
123         bos_restart.8           \
124         bos_salvage.8           \
125         bos_setauth.8           \
126         bos_setcellname.8       \
127         bos_setrestart.8        \
128         bos_shutdown.8          \
129         bos_start.8             \
130         bos_startup.8           \
131         bos_status.8            \
132         bos_stop.8              \
133         bos_uninstall.8         \
134         bosserver.8             \
135         buserver.8              \
136         butc.8                  \
137         dlog.8                  \
138         dpass.8                 \
139         fileserver.8            \
140         fms.8                   \
141         fstrace.8               \
142         fstrace_apropos.8       \
143         fstrace_clear.8         \
144         fstrace_dump.8          \
145         fstrace_help.8          \
146         fstrace_lslog.8         \
147         fstrace_lsset.8         \
148         fstrace_setlog.8        \
149         fstrace_setset.8        \
150         kadb_check.8            \
151         kas.8                   \
152         kas_apropos.8           \
153         kas_create.8            \
154         kas_delete.8            \
155         kas_examine.8           \
156         kas_forgetticket.8      \
157         kas_help.8              \
158         kas_interactive.8       \
159         kas_list.8              \
160         kas_listtickets.8       \
161         kas_noauthentication.8  \
162         kas_quit.8              \
163         kas_setfields.8         \
164         kas_setpassword.8       \
165         kas_statistics.8        \
166         kas_stringtokey.8       \
167         kas_unlock.8            \
168         kaserver.8              \
169         kdb.8                   \
170         knfs.8
171
172 all: $(MAN1) $(MAN8)
173
174 %.1: $(srcdir)/pod/%.pod
175         pod2man -c 'AFS Command Reference' -r 'OpenAFS' -s 1 $< $@
176
177 %.8: $(srcdir)/pod/%.pod
178         pod2man -c 'AFS Command Reference' -r 'OpenAFS' -s 8 $< $@
179
180 clean:
181         rm -f *.1 *.8
182
183 dest: $(MAN1) $(MAN8)
184         mkdir -p $(DEST)/man/man1 $(DEST)/man/man8
185         set -e; for M in $(MAN1) ; do \
186             $(INSTALL) -c -m 0644 $$M $(DEST)/man/man1/$$M ; \
187         done
188         set -e; for M in $(MAN8) ; do \
189             $(INSTALL) -c -m 0644 $$M $(DEST)/man/man8/$$M ; \
190         done
191
192 install: $(MAN1) $(MAN8)
193         mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man8
194         set -e; for M in $(MAN1) ; do \
195             $(INSTALL) -c -m 0644 $$M $(DESTDIR)$(mandir)/man1/$$M ; \
196         done
197         set -e; for M in $(MAN8) ; do \
198             $(INSTALL) -c -m 0644 $$M $(DESTDIR)$(mandir)/man8/$$M ; \
199         done