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