aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile24
-rw-r--r--README.md2
-rw-r--r--gemexp.1 (renamed from ge.1)4
4 files changed, 16 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore
index 8174492..e50e2aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,7 +3,7 @@
TAGS
gmid
gg
-ge
+gemexp
titan
*.d
*.o
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}
diff --git a/README.md b/README.md
index 57e463a..5b36829 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ gmid is a full-featured Gemini server written with security in mind.
It can serve static files, has optional FastCGI and proxying support,
and a rich configuration syntax.
-gg is a simple command-line Gemini client, and ge a stripped-down
+gg is a simple command-line Gemini client, and gemexp a stripped-down
config-less gmid version used to quickly serve a directory locally
over Gemini.
diff --git a/ge.1 b/gemexp.1
index b3eb562..ce33234 100644
--- a/ge.1
+++ b/gemexp.1
@@ -12,10 +12,10 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.Dd September 7, 2022
-.Dt GE 1
+.Dt GEMEXP 1
.Os
.Sh NAME
-.Nm ge
+.Nm gemexp
.Nd export a directory over Gemini
.Sh SYNOPSIS
.Nm