aboutsummaryrefslogtreecommitdiff
path: root/ebuild/syncers/Makefile.am
blob: 591c13306d8d9ff56b68d96299394a93826935eb (plain)
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
54
55
MAINTAINERCLEANFILES = Makefile.in
CLEANFILES = *~ .keep docvs+ext docvs+pserver docvs+ssh dodarcs+http dodarcs+ssh dofile dogit dogit+http dogit+ssh dorsync dosvn dosvn+http dosvn+https dosvn+ssh
SUBDIRS = .

.keep :
	touch $@

libexecprogdir = $(libexecdir)/paludis/syncers/

libexecprog_SCRIPTS = \
	docvs+ext \
	docvs+pserver \
	docvs+ssh \
	dodarcs+http \
	dodarcs+ssh \
	dofile \
	dogit \
	dogit+http \
	dogit+ssh \
	dorsync \
	dosvn \
	dosvn+http \
	dosvn+https \
	dosvn+ssh

TESTS_ENVIRONMENT = env \
	PALUDIS_EBUILD_DIR="$(srcdir)/paludis/syncers/" \
	TEST_SCRIPT_DIR="$(srcdir)/" \
	bash $(top_srcdir)/test/run_test.sh

installusersyncersdir = $(datadir)/paludis/syncers
installusersyncers_DATA = .keep

TESTS =
EXTRA_DIST = $(libexecprog_SCRIPTS) docvs.in dodarcs.in dogit.in dorsync.in dosvn.in

check_SCRIPTS =
check_PROGRAMS = $(TESTS)

AM_CXXFLAGS = -I$(top_srcdir) @PALUDIS_CXXFLAGS@

docvs+ext docvs+pserver docvs+ssh : docvs.in
	cat $? > $@
dodarcs+http dodarcs+ssh : dodarcs.in
	cat $? > $@
dogit dogit+http dogit+ssh : dogit.in
	cat $? > $@
dofile dorsync : dorsync.in
	cat $? > $@
dosvn dosvn+http dosvn+https dosvn+ssh : dosvn.in
	cat $? > $@

built-sources : $(BUILT_SOURCES)
	for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done