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
|
Description: Don't regenerate latex/version.tex
That depends on the bacula source being available at a specific
location. We just use the file that's shipped in the upstream tarball
and take care not to have it deleted by make distclean.
Author: Carsten Leonhardt <leo@debian.org>
Last-Update: 2024-11-19
Forwarded: not-needed
--- a/Makefile
+++ b/Makefile
@@ -60,19 +60,6 @@ else
endif
#
# For version.tex building process
-## bacula source directory
-ifeq ($(BACULASRC),)
- BACULASRC=$(HOME)
-endif
-# Location of the version.h file
-VERSION_H=$(shell find $(BACULASRC) -name "version.h" -print)
-ifeq ($(VERSION_H),)
- $(error Unable to find version.h in Bacula source tree $(BACULASRC).)
-else
- $(info $(VERSION_H) file found into $(dir $(VERSION_H)))
-endif
-## Bacula source directory (in the version.h point of view)
-SOURCES_DIR=$(dir $(VERSION_H))
## Location and name for the version.tex file
VERSION_TEX=$(LATEX_DIR)/version.tex
#
@@ -320,7 +307,7 @@ distclean: $(LATEX2HTMLMAKEFILE) clean
$(AT)(if [ -x bacula-web ] ; then cd bacula-web; make clean; fi)
$(AT)for I in ${all_dirs}; \
do (if [ -x $$I ]; then ${MAKE} -C $$I $@ || exit 1; fi); done
- $(AT)rm -f ${VERSION_TEX}
+ # $(AT)rm -f ${VERSION_TEX}
$(AT)rm -f ${externalreferencesfile}
|