+# SPDX-License-Identifier: GPL-2.0
PREFIX ?= /usr/local
INSTALL ?= install
INSTALL_PROGRAM ?= $(INSTALL)
INSTALL_DATA ?= $(INSTALL) -m 644
MKDIR_P := mkdir -p
-VERSION_STRING = 0.1.7
+VERSION_STRING = 1.0.1
dss_objects := dss.o str.o file.o exec.o sig.o daemon.o df.o tv.o snap.o ipc.o dss.lsg.o
all: dss dss.1
%.o: %.c Makefile
$(CC) -c $(DSS_CPPFLAGS) $(CPPFLAGS) $(DSS_CFLAGS) $(CFLAGS) $<
-%.png: %.dia
- dia -e $@ -t png $<
-
%.lsg.h: %.suite
lopsubgen --gen-h=$@ < $<
%.lsg.c: %.suite
groff -m man -Thtml -P -l -P -r $< | sed -e '1,/^<body>/d; /^<\/body>/,$$d' > $@
clean:
- rm -f *.o dss dss.1 dss.1.html Makefile.deps *.png *~ index.html dss.lsg.h dss.lsg.c
+ rm -f *.o dss dss.1 dss.1.html Makefile.deps *~ index.html dss.lsg.h dss.lsg.c
ifneq ($(findstring strip, $(MAKECMDGOALS)),)
strip_option := -s
sed -e '1,/@INSTALL@/d' -e '/@MAN_PAGE@/,$$d' index.html.in >> $@
cat dss.1.html >> $@
sed -e '1,/@MAN_PAGE@/d' index.html.in >> $@
+
+-include Makefile.local