git://git.jankratochvil.net
/
udpgate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed forgotten 'bundle.pl' during 'make dist' during --disable-bundle.
[udpgate.git]
/
src
/
Makefile.am
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
dfba9e5
..
9b4118b
100644
(file)
--- a/
src/Makefile.am
+++ b/
src/Makefile.am
@@
-37,21
+37,25
@@
GNOME_SRCS= \
endif
if ENABLE_BUNDLE
endif
if ENABLE_BUNDLE
-
-nodist_udpgate_SOURCES=bundle.c
-
BUNDLE_SRCS= \
BUNDLE_SRCS= \
+ bundle.c \
bundle.h \
bundle-util.c \
bundle-util.h
bundle.h \
bundle-util.c \
bundle-util.h
+endif
EXTRA_DIST+= \
bundle.pl
EXTRA_DIST+= \
bundle.pl
+if HAVE_PERL
# FIXME: GNU make(1) dependency by $(addprefix ...)
# FIXME: GNU make(1) dependency by $(addprefix ...)
-bundle_files=$(top_srcdir)/init.d/$(PACKAGE).init $(addprefix $(top_builddir)/$(POSUB)/,$(CATALOGS))
+po_files=$(addprefix $(top_builddir)/$(POSUB)/,$(CATALOGS))
+bundle_files=$(top_srcdir)/init.d/$(PACKAGE).init $(po_files)
bundle.c: bundle.pl $(bundle_files)
bundle.c: bundle.pl $(bundle_files)
- $(PERL) bundle.pl $(bundle_files) >$@
+ $(PERL) bundle.pl $(bundle_files) >$@
+
+$(po_files):
+ $(MAKE) -C $(top_builddir)/$(POSUB)
endif
endif