tMove config to config.def.h - scribo - Email-based phlog generator
 (HTM) git clone git://git.z3bra.org/scribo.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit c80c9cf06a1244d9815493a9844efa6dbd1140e8
 (DIR) parent d06dbcf4cdaca20a31c94415d297c47d6e300236
 (HTM) Author: Willy Goiffon <dev@z3bra.org>
       Date:   Mon,  7 Sep 2020 17:07:25 +0200
       
       Move config to config.def.h
       
       Diffstat:
         A config.def.h                        |       1 +
         D config.h                            |       1 -
         M makefile                            |       6 ++++++
       
       3 files changed, 7 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/config.def.h b/config.def.h
       t@@ -0,0 +1 @@
       +char *basedir = ".";
 (DIR) diff --git a/config.h b/config.h
       t@@ -1 +0,0 @@
       -char *basedir = "/var/gopher/phlog";
 (DIR) diff --git a/makefile b/makefile
       t@@ -1,6 +1,12 @@
        include config.mk
        
       +.SUFFIXES: .h .def.h
       +
        scribo: scribo.o rfc5322.o
       +scribo.o: config.h
       +
       +.def.h.h:
       +        cp $< $@
        
        install: scribo
                mkdir -p ${DESTDIR}${PREFIX}/bin