blob: 982c62a2c7100ef414e1b1fb8995c7eaf093b8fa (
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
|
SUBDIRS = .
CLEANFILES = *~ python/*
MAINTAINERCLEANFILES = Makefile.in
EXTRA_DIST = epydoc.css
if ENABLE_PYTHON
all-local : epydoc
epydoc : python
python : epydoc.css
rm -fr python
mkdir -p python
epydoc -n Paludis -o python -u http://paludis.pioto.org --no-frames -c $(srcdir)/epydoc.css \
$(top_builddir)/python/paludis.so
install-data-local :
mkdir -p $(DESTDIR)$(htmldir)/api
cp -R python/ $(DESTDIR)$(htmldir)/api/
else
epydoc :
@echo "You don't have python turned on!"
exit 1
endif
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
distcheck-deps-subdirs :
for s in `echo $(DIST_SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
htmldocs : htmldocs-subdirs
htmldocs-subdirs :
for s in $(SUBDIRS) . ; do if test x$$s = x. ; then $(MAKE) htmldocs-local || exit 1 ; \
else $(MAKE) -C $$s htmldocs || exit 1 ; fi ; done
htmldocs-local : $(paludisapipythonhtml_DATA)
clean-local :
rm -fr python/
|