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 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}