mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk: Don't link against systemd without SDK
Only link against systemd if /usr/include/systemd/sd-daemon.h exists. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
72f77f99ef
commit
d5b41e91b0
2 changed files with 17 additions and 3 deletions
|
|
@ -114,7 +114,9 @@ USE_PROJECT_LIB ?= true
|
|||
USE_YTOOLS ?= true
|
||||
USE_EXCEPTIONS_IN_C ?= true
|
||||
REENTRANT ?= true
|
||||
ifneq ($(wildcard /usr/include/systemd/sd-daemon.h),)
|
||||
USE_SYSTEMD ?= true
|
||||
endif
|
||||
|
||||
export REENTRANT
|
||||
|
||||
|
|
|
|||
18
make/tex.mk
18
make/tex.mk
|
|
@ -36,7 +36,7 @@ TEX_TMPL_BASE_DIR ?= $(MODDIR)/texdoc
|
|||
TEX_TMPL_STYLE ?= de_technical
|
||||
TEX_TMPL_DIR ?= $(TEX_TMPL_BASE_DIR)/$(TEX_TMPL_STYLE)
|
||||
IMPORTED_TEMPLATES ?= $(shell ls $(TEX_TMPL_DIR)/*.tmpl)
|
||||
IMAGEDIR ?= $(CVSTOPDIR)/images
|
||||
WWW_IMAGEDIR ?= $(CVS_PROJ_DIR)/www-janware/tools/html/htdocs/images
|
||||
FRONTLOGO_PDF ?= logo-janware.pdf
|
||||
FRONTLOGO_EPS ?= janware-frontpage-top-right.png
|
||||
FRONTLOGO_WEB ?= janware-frontpage-top-right.png
|
||||
|
|
@ -243,9 +243,21 @@ texsrc: $(GENERATED)
|
|||
%: %.tmpl
|
||||
$(mangle_tmpl)
|
||||
|
||||
$(FRONTLOGO_PDF): $(IMAGEDIR)/$(patsubst %.pdf,%.svg,$(FRONTLOGO_PDF))
|
||||
$(FRONTLOGO_PDF): $(WWW_IMAGEDIR)/$(patsubst %.pdf,%.svg,$(FRONTLOGO_PDF))
|
||||
inkscape -w 30mm --export-pdf=$@ $<
|
||||
|
||||
%.pdf: %.svg
|
||||
inkscape -w 30mm --export-pdf=$@ $<
|
||||
|
||||
$(WWW_IMAGEDIR)/%.svg: %.svg
|
||||
cp $< $@
|
||||
|
||||
$(CVS_IMAGEDIR)/%.svg: %.svg
|
||||
cp $< $@
|
||||
|
||||
$(CVS_IMAGEDIR)/%.png: %.png
|
||||
cp $< $@
|
||||
|
||||
cfgtest.done:
|
||||
test -n "$(OUTPUT)" # OUTPUT
|
||||
test -n "$(DISTDIR)" # DISTDIR
|
||||
|
|
@ -261,7 +273,7 @@ cfgtest.done:
|
|||
test -n "$(AUTHORS)" # AUTHORS
|
||||
test -n "$(TITLE)" # TITLE
|
||||
test -n "$(SUBTITLE)" # SUBTITLE
|
||||
test -d $(IMAGEDIR) # IMAGEDIR
|
||||
test -d $(WWW_IMAGEDIR) # IMAGEDIR
|
||||
@for IMG in $(IMAGES); do if [ ! -f $$IMG ]; then echo "$$IMG is missing"; exit 1; fi; done
|
||||
test -n "$(VERSION)" # VERSION
|
||||
touch $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue