-
Notifications
You must be signed in to change notification settings - Fork 18
/
Makefile.am
75 lines (58 loc) · 1.81 KB
/
Makefile.am
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
## Process this file with automake to produce Makefile.in
SUBDIRS = \
desktop \
docs \
po \
src
ardesiadocdir = ${prefix}/share/doc/ardesia
ardesiadoc_DATA = \
README \
AUTHORS \
ChangeLog \
NEWS
autogen_FILE = autogen.sh
@INTLTOOL_DESKTOP_RULE@
INTLTOOL_FILES = intltool-extract.in \
intltool-merge.in \
intltool-update.in
EXTRA_DIST = $(ardesiadoc_DATA) \
$(INTLTOOL_FILES) \
$(autogen_FILE) \
win32
DISTCLEANFILES = intltool-extract \
intltool-merge \
intltool-update \
po/.intltool-merge-cache
.PHONY : clean win-installer
if !PLATFORM_WIN32
deb:
@if test -s "`which debuild`"; then \
debuild -us -uc -b; \
mv ../$(PACKAGE_NAME)_$(PACKAGE_VERSION)-*_*.deb .; \
else \
echo "You need to install the debian package 'devscripts'"; \
exit 1; \
fi
else
win-installer:
@win32/build_installer
endif
update-po:
(cd po; $(MAKE) update-po)
clean:
@for i in $(SUBDIRS); do \
echo "Clearing in $$i..."; \
(cd $$i; $(MAKE) clean); done
rm -fr debian/tmp
rm -fr debian/files
rm -fr debian/ardesia
rm -f debian/debhelper.log
rm -fr debian/substvars
rm -f ardesia/config.log
# Remove doc directory on uninstall
uninstall-local:
rm -fr $(ardesiadocdir)
rm -fr $(uidir)
rm -fr $(datadir)/ardesia
dist-hook:
rm -rf `find $(distdir) -name .svn`