-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (31 loc) · 1.17 KB
/
Makefile
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
include config.mk
DIRS=man po src
DISTDIRS=man
.PHONY : all treewatch clean install uninstall dist dist-clean sign copy pottar
all : treewatch
treewatch :
@for d in ${DIRS}; do $(MAKE) -C $${d}; done
clean :
@for d in ${DIRS}; do $(MAKE) -C $${d} $@; done
install : treewatch
@for d in ${DIRS}; do $(MAKE) -C $${d} $@; done
uninstall :
@for d in ${DIRS}; do $(MAKE) -C $${d} $@; done
dist : dist-clean
@for d in ${DISTDIRS}; do $(MAKE) -C $${d} $@; done
mkdir -p treewatch-${VERSION}
cp -r images man po src ChangeLog COPYING Makefile README TODO config.mk treewatch-${VERSION}/
tar -jcf treewatch-${VERSION}.tar.bz2 treewatch-${VERSION}/
dist-clean : clean
@for d in ${DISTDIRS}; do $(MAKE) -C $${d} $@; done
-rm -rf treewatch-${VERSION}*
sign : dist
gpg --detach-sign -a treewatch-${VERSION}.tar.bz2
copy : sign
scp treewatch-${VERSION}.tar.bz2 treewatch-${VERSION}.tar.bz2.asc atchoo:atchoo.org/tools/treewatch/files/
pottar : dist-clean
mkdir -p treewatch-pot/po treewatch-pot/man
#cp po/*.po treewatch-pot/po/
cp po/treewatch.pot treewatch-pot/po/
/usr/bin/xml2po -o treewatch-pot/man/treewatch-man-1.pot man/treewatch.1.xml
tar -zcf treewatch-pot.tar.gz treewatch-pot