Skip to content

Commit

Permalink
Fix distcheck
Browse files Browse the repository at this point in the history
We need to distribute the GtkDoc header generation script.

We need not to distribute the generated header, otherwise the VPATH
lookup would find the distributed one in $(srcdir) and try to update
it; but touching $(srcdir) is a bad thing.
  • Loading branch information
b4n committed Feb 18, 2016
1 parent e9e2ddf commit 240b590
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Expand Up @@ -15,6 +15,7 @@ WIN32_BUILD_FILES = \

EXTRA_DIST = \
autogen.sh \
scripts/gen-api-gtkdoc.py \
wscript \
waf \
geany.desktop.in \
Expand Down
4 changes: 2 additions & 2 deletions doc/Makefile.am
Expand Up @@ -128,15 +128,15 @@ geany-gtkdoc.h: Doxyfile.stamp $(top_srcdir)/scripts/gen-api-gtkdoc.py
ALL_TARGETS += geany-gtkdoc.h

geany_gtkdocincludedir = $(includedir)/geany/gtkdoc
geany_gtkdocinclude_HEADERS = geany-gtkdoc.h
nodist_geany_gtkdocinclude_HEADERS = geany-gtkdoc.h

endif

all-local: $(ALL_TARGETS)

clean-local: clean-api-docs-local
clean-api-docs-local:
-rm -rf reference/ xml/ doxygen_* $(ALL_TARGETS)
-rm -rf reference/ xml/ doxygen_* Doxyfile-gi $(ALL_TARGETS)

endif

Expand Down

0 comments on commit 240b590

Please sign in to comment.