File: Makefile.am

package info (click to toggle)
config-manager 0.3-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,180 kB
  • ctags: 802
  • sloc: sh: 8,865; cpp: 2,630; python: 2,191; makefile: 127
file content (53 lines) | stat: -rw-r--r-- 1,314 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
## Do NOT Alter the next line
## arch-tag: 4995273b-c4c7-4408-99cd-41bc507f1c75
##
AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects 1.5
DIST_SUBDIRS = libgetopt
SUBDIRS = @CMSUBDIRS@
PYTHONPATH:=$(shell pwd)/lib:$(shell pwd)/bzr

INCLUDES=@CMINCLUDES@

bin_PROGRAMS = cm

cm_SOURCES = src/cm.cc \
	src/ConfigEntry.cc \
	src/ConfigSource.cc \
	src/ConfigArchSource.cc \
	src/ConfigCVSSource.cc \
	src/ConfigSVNSource.cc \
	src/ConfigWGetSource.cc \
	src/File.cc \
	src/FileSystemComposite.cc \
	src/Directory.cc \
	src/Path.cc
noinst_HEADERS = \
	src/Config.h \
	src/ConfigEntry.h \
	src/ConfigSource.h \
	src/ConfigArchSource.h \
	src/ConfigCVSSource.h \
	src/ConfigSVNSource.h
	src/ConfigWGetSource.h \
	src/Directory.h \
	src/File.h \
	src/FileSystemVisitor.h \
	src/FileSystemComposite.h \
	src/Path.h
cm_LDADD = @LIBGETOPT@

EXTRA_DIST = \
	HOWTO \
	sample-config.txt 

check-local:
	PYTHONPATH=$(PYTHONPATH) ./test_all.py

# distutils bug: installs into lib wrongly.
# known python version fixes:
install-exec-local:
	./setup.py install --prefix=$(DESTDIR)/usr
	-rm -rf $(DESTDIR)/usr/lib/python2.4/site-packages/lib/config_manager
	-rmdir $(DESTDIR)/usr/lib/python2.4/site-packages/lib
	-rm -rf $(DESTDIR)/usr/lib/python2.3/site-packages/lib/config_manager
	-rmdir $(DESTDIR)/usr/lib/python2.3/site-packages/lib