File: Makefile.am

package info (click to toggle)
gmasqdialer 0.99.7-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,412 kB
  • ctags: 588
  • sloc: sh: 7,460; ansic: 5,188; makefile: 301; sed: 93
file content (33 lines) | stat: -rw-r--r-- 853 bytes parent folder | download
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
SUBDIRS = po intl macros src help

## to automatically rebuild aclocal.m4 if any of the macros in
## `macros/' change
@MAINT@include macros/macros.dep
@MAINT@macros/macros.dep: macros/Makefile.am
@MAINT@	cd macros && $(MAKE) macros.dep

appletdir= $(datadir)/applets/Network
applet_DATA = gmasqdialer.desktop

corbadir= $(sysconfdir)/CORBA/servers
corba_DATA = gmasqdialer.gnorba

EXTRA_DIST = \
	autogen.sh \
	$(applet_DATA) \
	$(corba_DATA)

SPEC=gmasqdialer.spec

rpm: rpmbuild $(SPEC)
	make
	make install prefix=/tmp/$(PACKAGE)-root$(prefix) \
	exec_prefix=/tmp/$(PACKAGE)-root$(exec_prefix)
	$(SHELL) rpmbuild --prefix=$(prefix) --execprefix=$(exec_prefix) \
	--pkgname=$(PACKAGE) --pkgversion=$(VERSION) \
	--buildroot=/tmp/$(PACKAGE)-root --spec=$(SPEC)
	rm -rf /tmp/$(PACKAGE)-root

snap:
	$(MAKE) dist distdir=$(PACKAGE)-SNAP-`date +"%Y%m%d"`