35b67f | 2000-11-20 | Per Hedbor | | # configurable stuff
|
d950d6 | 2005-09-30 | Anders Johansson | | PIKE=../bin/pike
|
35b67f | 2000-11-20 | Per Hedbor | |
|
7b12d9 | 2005-02-10 | Anders Johansson | | LANG=C
|
35b67f | 2000-11-20 | Per Hedbor | | # do not alter
|
4b1d5c | 2000-11-21 | Martin Nilsson | | all: modules xmls translations
|
35b67f | 2000-11-20 | Per Hedbor | |
modules:
@echo "1. Finding modules"
@for a in `find ../modules/ -name '*.pike'` ; do \
if grep -c '#!NO' $$a >/dev/null 2>&1; then \
:;\
|
b50773 | 2004-05-25 | Anders Johansson | | else \
|
35b67f | 2000-11-20 | Per Hedbor | | module='"mod_'`echo $$a|sed -e s',../modules/.*/,,' -e s',.pike,,'`'"';\
if grep -c "$$module" $$a >/dev/null 2>&1; then \
./scripts/make_mod_config $$module $$a; \
fi;\
fi ; \
done
|
b50773 | 2004-05-25 | Anders Johansson | | @for a in `find ../more_modules/ -name '*.pike'` ; do \
if grep -c '#!NO' $$a >/dev/null 2>&1; then \
:;\
else \
module='"mod_'`echo $$a|sed -e s',../more_modules/,,' -e s',.pike,,'`'"';\
if grep -c "$$module" $$a >/dev/null 2>&1; then \
./scripts/make_mod_config $$module $$a; \
fi;\
fi ; \
done
|
35b67f | 2000-11-20 | Per Hedbor | |
|
4b1d5c | 2000-11-21 | Martin Nilsson | | xmls:
@echo "2. Rebuilding .xml config files"
@for a in configs/*.xml ; do \
|
a83579 | 2001-07-03 | Martin Nilsson | | pkg=`echo $$a | sed -e s',\.xml,,' -e s',.*/,,'`; \
|
4b1d5c | 2000-11-21 | Martin Nilsson | | ./scripts/make_config $$pkg configs/$$pkg.xml ; \
done
translations:
@echo "3. Rebuilding translation files"
@for a in configs/*.xml ; do \
|
a83579 | 2001-07-03 | Martin Nilsson | | pkg=`echo $$a | sed -e s',\.xml,,' -e s',.*/,,'`; \
|
0fa99c | 2009-03-16 | Anders Johansson | | $(PIKE) -x extract_locale --config=configs/$$pkg.xml --wipe --sync --notime; \
|
4b1d5c | 2000-11-21 | Martin Nilsson | | done
|
35b67f | 2000-11-20 | Per Hedbor | | clean:
rm configs/*~
rm configs/mod_*.xml
|