Mercurial > paster
diff Makefile @ 51:07b6887d3557
pasterd: split into individual pages
While here add a similar mini.css theme as in imgup.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 21 Dec 2020 18:22:44 +0100 |
parents | d8e22b0c0237 |
children | ef9f7f40abd1 |
line wrap: on
line diff
--- a/Makefile Mon Apr 27 12:08:16 2020 +0200 +++ b/Makefile Mon Dec 21 18:22:44 2020 +0100 @@ -31,8 +31,25 @@ VERSION= 0.2.1 -CORE_SRCS= config.c database.c http.c log.c paste.c util.c -CORE_HDRS= config.h database.h http.h log.h paste.h util.h +CORE_SRCS= config.c \ + database.c \ + http.c \ + log.c \ + fragment-duration.c \ + fragment-language.c \ + fragment-paste.c \ + fragment.c \ + page-download.c \ + page-fork.c \ + page-index.c \ + page-new.c \ + page-paste.c \ + page-search.c \ + page-static.c \ + page.c \ + paste.c \ + util.c +CORE_HDRS= ${CORE_SRCS:.c=.h} CORE_OBJS= ${CORE_SRCS:.c=.o} CORE_DEPS= ${CORE_SRCS:.c=.d} CORE_LIB= libpaster.a @@ -52,7 +69,7 @@ -D_XOPEN_SOURCE=700 \ -DSHAREDIR=\"${SHAREDIR}\" \ -DVARDIR=\"${VARDIR}\" -MY_LDFLAGS= -static -lkcgi -lkcgihtml -lz +MY_LDFLAGS= -lkcgi -lkcgihtml -lz .SUFFIXES: .SUFFIXES: .o .c .in @@ -113,7 +130,7 @@ install: install-pasterd install-paster -dist: clean +dist: mkdir -p paster-${VERSION} cp -R extern paster-${VERSION} cp -R themes paster-${VERSION}