ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-7.2/help/Makefile.in
Revision: 897
Committed: Sat Nov 3 17:13:32 2007 UTC (16 years, 5 months ago) by db
File size: 987 byte(s)
Log Message:
- Major cleanup of build system (Stu should review this)
  Basically move shared stuff like help messages modules to datadir
  Try to keep to the original layout under prefix if --datadir
  --sysconfdir --localstatedir are not given
- Make the example files have reasonable defaults, this bites me
  all the time anyway.


File Contents

# Content
1 # Makefile to install help files
2 # $Id$
3
4 INSTALL = @INSTALL@
5 INSTALL_DATA = @INSTALL_DATA@
6 RM = @RM@
7
8 prefix = @prefix@
9 exec_prefix = @execprefix@
10 datadir = ${DESTDIR}@datadir@
11 helpdir = ${datadir}/help
12 uhelpdir = ${helpdir}/users
13 ohelpdir = ${helpdir}/opers
14
15 SYMLINKS = topic accept cmode admin names links away whowas \
16 version kick who invite quit join list nick oper part \
17 time motd userhost users whois ison lusers user help \
18 challenge map pass error knock ping pong
19 all:
20 build:
21 clean:
22 depend:
23
24 install:
25 @echo installing help files...
26 @echo helpdir=${helpdir}
27 mkdir -p $(ohelpdir)
28 mkdir -p $(uhelpdir)
29 @for help in opers/*; do \
30 if [ -f $$help ]; then \
31 ${INSTALL_DATA} $$help $(ohelpdir); \
32 fi \
33 done
34 @for help in users/*; do \
35 if [ -f $$help ]; then \
36 $(INSTALL_DATA) $$help $(uhelpdir); \
37 fi \
38 done
39 @for link in $(SYMLINKS); do \
40 rm -f $(uhelpdir)/$$link; \
41 ln -s $(ohelpdir)/$$link $(uhelpdir); \
42 done
43
44 distclean:
45 ${RM} -f Makefile
46
47 depend:

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision