From 2b4be20507fee93fc165a550cd0cb8f81dcad05d Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 15 May 2023 18:31:12 +0200 Subject: Updated .gitignore, README formatting --- sdep-0.2/Makefile | 61 ------------------------------------------------------- 1 file changed, 61 deletions(-) delete mode 100644 sdep-0.2/Makefile (limited to 'sdep-0.2/Makefile') diff --git a/sdep-0.2/Makefile b/sdep-0.2/Makefile deleted file mode 100644 index 444c6f2..0000000 --- a/sdep-0.2/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -# See LICENSE file for copyright and license details. - -VERSION = 0.2 - -PREFIX = /usr/local -MANPREFIX = ${PREFIX}/share/man -SCRIPTS = sdep-add sdep-checknow sdep-checkpast sdep-clear sdep-edit sdep-list - -CPPFLAGS = -D_XOPEN_SOURCE=700 -DVERSION=\"${VERSION}\" -CFLAGS = -pedantic -Wall -Os ${CPPFLAGS} -DBGFLAGS = -pedantic -Wall -Wextra \ - -fsanitize=address -fsanitize=undefined ${CPPFLAGS} - -CC = cc - - -all: options sdep - -options: - @echo sdep build options: - @echo "CFLAGS = ${CFLAGS}" - @echo "CC = ${CC}" - -sdep: - ${CC} ${CFLAGS} -o sdep sdep.c - -debug: - ${CC} ${CFLAGS} -o sdep sdep.c - -clean: - rm -rf sdep sdep-${VERSION}.tar.gz - -dist: clean - mkdir -p sdep-${VERSION} - cp -R LICENSE Makefile README sdep.1 sdep.c sdep-${VERSION} - tar -cf sdep-${VERSION}.tar sdep-${VERSION} - gzip sdep-${VERSION}.tar - rm -rf sdep-${VERSION} - -install: all - mkdir -p ${DESTDIR}${PREFIX}/bin - cp -f sdep ${DESTDIR}${PREFIX}/bin/sdep - chmod 755 ${DESTDIR}${PREFIX}/bin/sdep - mkdir -p ${DESTDIR}${MANPREFIX}/man1 - sed "s/VERSION/${VERSION}/g" < sdep.1 \ - > ${DESTDIR}${MANPREFIX}/man1/sdep.1 - chmod 644 ${DESTDIR}${MANPREFIX}/man1/sdep.1 - -scripts: - for s in ${SCRIPTS}; do\ - sed "s|SDEPDATA|${SD}|g" < scripts/$$s > \ - ${DESTDIR}${PREFIX}/bin/$$s ; \ - chmod 755 ${DESTDIR}${PREFIX}/bin/$$s ;\ - done - -uninstall: - rm -rf ${DESTDIR}${PREFIX}/bin/sdep ${DESTDIR}${MANPREFIX}/man1/sdep.1 - for s in ${SCRIPTS}; do rm -rf ${DESTDIR}${PREFIX}/bin/$$s; done - -.PHONY: all options debug clean dist install scripts uninstall - -- cgit v1.3