aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-07-25 20:15:40 +0000
committerOmar Polo <op@omarpolo.com>2023-07-25 20:15:40 +0000
commitf59543490d613d2af0c3954879e17ad9f0699c86 (patch)
tree330505640a1fe05b34bfaebe45562a44a73aaecd /Makefile
parent857635a1075e664cecc4e40fbbf7e5787b8cc974 (diff)
rename ge -> gemexp
gemserv is already taken...
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 04cfd2e..e1fc323 100644
--- a/Makefile
+++ b/Makefile
@@ -31,10 +31,10 @@ GMID_SRCS = gmid.c config.c crypto.c dirs.c fcgi.c iri.c log.c \
GMID_OBJS = ${GMID_SRCS:.c=.o} ${COBJS}
-GE_SRCS = ge.c config.c crypto.c dirs.c fcgi.c iri.c log.c mime.c \
+GEMEXP_SRCS = ge.c config.c crypto.c dirs.c fcgi.c iri.c log.c mime.c \
proc.c proxy.c puny.c sandbox.c server.c utf8.c utils.c
-GE_OBJS = ${GE_SRCS:.c=.o} ${COBJS}
+GEMEXP_OBJS = ${GEMEXP_SRCS:.c=.o} ${COBJS}
GG_SRCS = gg.c iri.c utf8.c
@@ -44,13 +44,13 @@ TITAN_SRCS = titan.c iri.c utf8.c
TITAN_OBJS = ${TITAN_SRCS:.c=.o} ${COBJS}
SRCS = gmid.h log.h parse.y proc.h \
- ${GMID_SRCS} ${GE_SRCS} ${GG_SRCS} ${TITAN_SRCS}
+ ${GMID_SRCS} ${GEMEXP_SRCS} ${GG_SRCS} ${TITAN_SRCS}
DISTNAME = gmid-${VERSION}
# -- public targets --
-all: config.mk gmid ge gg titan
+all: config.mk gmid gemexp gg titan
.PHONY: all tags clean cleanall test regress install
config.mk config.h: configure
@@ -60,7 +60,7 @@ config.mk config.h: configure
include config.mk
clean:
- rm -f *.[do] compat/*.[do] y.tab.c y.tab.h y.output gmid ge gg
+ rm -f *.[do] compat/*.[do] y.tab.c y.tab.h y.output gmid gemexp gg
rm -f compile_flags.txt
${MAKE} -C regress clean
@@ -71,24 +71,24 @@ test: regress
regress: all
${MAKE} 'TESTS=${TESTS}' -C regress all
-install: gmid gg ge
+install: gmid gg gemexp
mkdir -p ${DESTDIR}${BINDIR}
mkdir -p ${DESTDIR}${MANDIR}/man1
mkdir -p ${DESTDIR}${MANDIR}/man5
mkdir -p ${DESTDIR}${MANDIR}/man8
${INSTALL_PROGRAM} gmid ${DESTDIR}${BINDIR}
${INSTALL_PROGRAM} gg ${DESTDIR}${BINDIR}
- ${INSTALL_PROGRAM} ge ${DESTDIR}${BINDIR}
+ ${INSTALL_PROGRAM} gemexp ${DESTDIR}${BINDIR}
${INSTALL_MAN} gmid.8 ${DESTDIR}${MANDIR}/man8
${INSTALL_MAN} gmid.conf.5 ${DESTDIR}${MANDIR}/man5
- ${INSTALL_MAN} ge.1 ${DESTDIR}${MANDIR}/man1
+ ${INSTALL_MAN} gemexp.1 ${DESTDIR}${MANDIR}/man1
${INSTALL_MAN} gg.1 ${DESTDIR}${MANDIR}/man1
uninstall:
- rm ${DESTDIR}${BINDIR}/ge
+ rm ${DESTDIR}${BINDIR}/gemexp
rm ${DESTDIR}${BINDIR}/gg
rm ${DESTDIR}${BINDIR}/gmid
- rm ${DESTDIR}${MANDIR}/man1/ge.1
+ rm ${DESTDIR}${MANDIR}/man1/gemexp.1
rm ${DESTDIR}${MANDIR}/man1/gg.1
rm ${DESTDIR}${MANDIR}/man5/gmid.conf.5
rm ${DESTDIR}${MANDIR}/man8/gmid.8
@@ -101,8 +101,8 @@ tags:
gmid: ${GMID_OBJS}
${CC} ${GMID_OBJS} -o $@ ${LIBS} ${LDFLAGS}
-ge: ${GE_OBJS}
- ${CC} ${GE_OBJS} -o $@ ${LIBS} ${LDFLAGS}
+gemexp: ${GEMEXP_OBJS}
+ ${CC} ${GEMEXP_OBJS} -o $@ ${LIBS} ${LDFLAGS}
gg: ${GG_OBJS}
${CC} ${GG_OBJS} -o $@ ${LIBS} ${LDFLAGS}