-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
35 lines (30 loc) · 886 Bytes
/
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
SUBDIRS = src docs
ACLOCAL_AMFLAGS=-I m4
MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.h.in config.sub \
configure depcomp gtk-doc.make install-sh ltmain.sh \
Makefile.in missing
test: all
(cd src && make test)
release: all dist
@echo -en "\nRelease $(PACKAGE)-$(VERSION) (y/n): "
@read ans && [ "$$ans" != "y" ] && exit 1 || exit 0
git tag -s -m "Version $(VERSION)" v$(VERSION)
git push --all
echo $(VERSION) > LATEST
scp LATEST $(PACKAGE)-$(VERSION).tar.* \
"[email protected]:/home/pileus/htdocs/$(PACKAGE)/files"; \
rm -f LATEST
depscan:
gtkdoc-depscan \
--book=atk \
--book=gdk \
--book=gdk-pixbuf \
--book=gio \
--book=glib \
--book=gobject \
--book=gtk \
--book=libsoup-2.4 \
--book=pango \
--list-unknown \
src/*/*.[ch] \
src/*.[ch]