-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
45 lines (34 loc) · 1.31 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
@SET_MAKE@
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = panel-plugin glade backends po redhat
MAKEFLAGS=--no-print-directory --silent
distclean-local:
rm -rf *.cache *~
dist-bz2: dist
zcat $(PACKAGE)-$(VERSION)-$(REV).tar.gz | bzip2 --best -c > $(PACKAGE)-$(VERSION)-$(REV).tar.bz2
distcheck-bz2: distcheck
zcat $(PACKAGE)-$(VERSION)-$(REV).tar.gz | bzip2 --best -c > $(PACKAGE)-$(VERSION)-$(REV).tar.bz2
rpm: dist
rpmbuild --sign -ta $(PACKAGE)-$(VERSION).tar.gz
# rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
deb:
dpkg-buildpackage -rfakeroot -i.svn
# dpkg-buildpackage -uc -us -rfakeroot -i.git
PUBLOC = ~/apt/repo/dists/custom/main
PUBARCH = `/usr/bin/dpkg-architecture -qDEB_HOST_ARCH`
PVERSION = $(VERMAJOR).$(VERMINOR)-$(VERMICRO)
debpub:
cp ../$(PACKAGE)_$(PVERSION).tar.gz $(PUBLOC)/source
cp ../$(PACKAGE)_$(PVERSION).dsc $(PUBLOC)/source
cp ../$(PACKAGE)_$(PVERSION)_$(PUBARCH).deb $(PUBLOC)/binary-$(PUBARCH)
cp ../$(PACKAGE)_$(PVERSION)_$(PUBARCH).changes $(PUBLOC)/binary-$(PUBARCH)
PKGFLAGS = --default \
--pkgname=$(PACKAGE) \
--pkgversion=$(VERSION) \
--pkgrelease=$(REV) \
--pkglicense="GNU GPL" \
--pkggroup="xfce"
EXTRA_DIST = README TODO THANKS intltool-extract.in intltool-merge.in intltool-update.in
DISTCLEANFILES = intltool-extract intltool-merge intltool-update
splint:
cd panel-plugin && $(MAKE) splint