-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: html_entities_decode action: commit revision: path_from: revision_from: e78a095e78927556cefb07804afadd9faec9efcd: path_to: revision_to:
commit e78a095e78927556cefb07804afadd9faec9efcd Author: epoch <epoch@enzo.thebackupbox.net> Date: Sat Oct 30 02:14:17 2021 +0000 fixed the wrong name in .gitignore, added the debian dir to .gitignore, and added the debian build target to the Makefile diff --git a/.gitignore b/.gitignore
--- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -decode_html_entities +html_entities_decode +debian diff --git a/Makefile b/Makefile
--- a/Makefile +++ b/Makefile @@ -1,12 +1,25 @@ PREFIX:=/usr/local CFLAGS:=-DGPERF +DEB_TARGET_ARCH:=`dpkg-architecture -q DEB_TARGET_ARCH` + .PHONEY: all clean install veryclean all: html_entities_decode +debian: DEBDEST=./debian/html_entities_decode_0.1-0_$(DEB_TARGET_ARCH) +debian: all + $(MAKE) PREFIX=$(DEBDEST)/usr install + mkdir -p $(DEBDEST)/DEBIAN/ + printf "Package: html-entities-decode\n" >> $(DEBDEST)/DEBIAN/control + printf "Version: 0.1\n" >> $(DEBDEST)/DEBIAN/control + printf "Architecture: %s\n" $(DEB_TARGET_ARCH) >> $(DEBDEST)/DEBIAN/control + printf "Maintainer: epoch <epoch@thebackupbox.net>\n" >> $(DEBDEST)/DEBIAN/control + printf "Description: command line tool to act as a filter for decoding html entities\n" >> $(DEBDEST)/DEBIAN/control + dpkg-deb --build --root-owner-group $(DEBDEST) + install: all - install html_entities_decode $(PREFIX)/bin + install -Dt $(PREFIX)/bin html_entities_decode veryclean: clean rm -f entities_gperf.h @@ -14,6 +27,7 @@ veryclean: clean clean: rm -f html_entities_decode + rm -rf debian entities_h.h: entities.h printf 'struct entity { char *name; char *value; }\n%%%%\n' > entities_h.h
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 12:24:18 2024