File: Makefile.am

package info (click to toggle)
fmit 0.97.7-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,656 kB
  • ctags: 1,066
  • sloc: cpp: 9,100; sh: 787; makefile: 128
file content (28 lines) | stat: -rw-r--r-- 1,065 bytes parent folder | download | duplicates (2)
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
SUBDIRS = m4 libs ui src tr
default_DATA = fmit.desktop
defaultdir = $(prefix)/share/applications
EXTRA_DIST = ChangeLog AUTHORS COPYING TODO INSTALL fmit.desktop

.PHONY: run dwl test-build test-build-cvs test-build-dist

run: all
	./src/fmit

dwl:
	@echo update dwl directory
	chown -R norwin.users dwl
	cd dwl; rsync --delete -avr --rsh="ssh" . norwin@download.gna.org:/upload/fmit; cd ..

test-build: test-build-cvs test-build-dist

test-build-cvs:
	rm -fr test/fmit
	@echo test build through cvs
	cd test; cvs -d norwin@cvs.gna.org:/cvs/fmit co fmit; cd fmit; sh burn_and_honk.sh; ./configure; make; cd ../..
#	cd test; cvs -d:pserver:anonymous@cvs.gna.org:/cvs/fmit co fmit; cd fmit; sh burn_and_honk.sh; ./configure; make; cd ../..

test-build-dist: dist
	rm -fr test/$(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.bz2 $(PACKAGE_NAME)-$(PACKAGE_VERSION)
	@echo test build through archive
	cp $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.bz2 test/; cd test; uz $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.bz2; cd $(PACKAGE_NAME)-$(PACKAGE_VERSION); ./configure; make; cd ../..