-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.dist
52 lines (48 loc) · 1.35 KB
/
Makefile.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
default: all
dist: maint
rm -rf `find . -type d -name CVS`
rm -f `find . -type f -name .cvsignore`
maint:
@echo "This file is to make it easier for you to create all you need"
aclocal
autoheader
# use --include-deps, if you want to release the stuff. Don't use it for
# yourself
automake --add-missing --include-deps; true
#perl automoc
autoconf
touch stamp-h.in
LIST=`find ./po -name "*.po"`; \
for i in $$LIST; do \
file2=`echo $$i | sed -e "s#\.po#\.gmo#"`; \
msgfmt -o $$file2 $$i; \
done
cp config.sub config1.sub
cp config.guess config1.guess
helper/cvs2cl.pl --revisions --separate-header --prune \
--accum --usermap AUTHORS -I 'docs\/devel.*'
rm -f config.* *.ini *.log *.key *.mnd *.pid magick
rm -f `find . -type f -name "*~"`
rm -f `find . -type f -name ".#*"`
rm -f `find . -type f -name "*.bak"`
rm -f `find . -type f -name DEADJOE`
rm -f Makefile.dist
mv config1.sub config.sub
grep -v SuSE config1.guess >config.guess
rm -f config1.guess
chmod u+x config.guess
# chmod -Rf go=u,go-w *
for i in files files/memo files/pic files/public files/temp; do \
if [ ! -d files ]; then \
mkdir files; \
fi; \
done
rm -rf files/*/*
all:
rm -f Makefile
./configure
@if test -f Makefile ;\
then echo "make" ;\
make ;\
else echo "Configure failed, please check why and re-run ./configure before running make again" ;\
fi