/[svn]/ircd-hybrid-7.2/messages/Makefile.in
ViewVC logotype

Contents of /ircd-hybrid-7.2/messages/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 897 - (show annotations)
Sat Nov 3 17:13:32 2007 UTC (12 years, 5 months ago) by db
File size: 1354 byte(s)
- 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.


1 # $Id$
2 #
3 RM = @RM@
4 MV = @MV@
5 INSTALL = @INSTALL@
6 INSTALL_DATA = @INSTALL_DATA@
7 prefix = $(DESTDIR)@prefix@
8 datadir = $(DESTDIR)@datadir@
9 messagedir = $(datadir)/messages
10
11 CLOBBER = @CLOBBER@
12
13 LANGFILES = ayb.lang \
14 custom.lang \
15 ircd-brazilian_pt.lang \
16 ircd-croatian.lang \
17 ircd-danish.lang \
18 ircd-dutch.lang \
19 ircd-french.lang \
20 ircd-german.lang \
21 ircd-italian.lang \
22 ircd-norwegian.lang \
23 ircd-polish.lang \
24 ircd-russian.lang \
25 ircd-spanish.lang \
26 ircd-swedish.lang
27
28 all:
29
30 install:
31 mkdir -p $(messagedir)
32 -@echo "Installing language files to $(messagedir)..."; \
33
34 @for i in $(LANGFILES); do \
35 if test -f $(messagedir)/$$i -a -z "$(CLOBBER)"; then \
36 echo $(MV) $(messagedir)/$$i $(messagedir)/$$i.old; \
37 $(MV) $(messagedir)/$$i $(messagedir)/$$i.old; \
38 fi; \
39 echo $(INSTALL_DATA) $$i $(messagedir); \
40 $(INSTALL_DATA) $$i $(messagedir); \
41 done
42
43 distclean:
44 ${RM} -f Makefile
45
46 .PHONY: install distclean

Properties

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

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26