croptool

Image cropping tool
git clone git://lumidify.org/croptool.git
Log | Files | Refs | README | LICENSE

commit 15dc7cce5fedb1f038f52de2647aec4de7f48512
parent de33336bdf4a91940a960149135a220fdd28ed20
Author: lumidify <nobody@lumidify.org>
Date:   Sun,  3 Jan 2021 11:29:39 +0100

Add 'dist' to makefile; update changelog

Diffstat:
MCHANGELOG | 5+++++
MMakefile | 10+++++++++-
2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG b/CHANGELOG @@ -1,3 +1,8 @@ +1.1 -> 1.2-dev +* Rewrite using Xlib and Imlib2 +* Add command-line options and man pages +* Add automatic resizing of image when resizing window + 1.0 -> 1.1 * Allow two different selection box colors * Immediately display the first image when croptool is started diff --git a/Makefile b/Makefile @@ -7,6 +7,7 @@ PREFIX = /usr/local MANPREFIX = ${PREFIX}/man BIN = ${NAME} croptool_crop +SRC = ${BIN:=.c} MAN1 = ${BIN:=.1} CFLAGS += -D_POSIX_C_SOURCE=200809L `pkg-config --cflags x11` `imlib2-config --cflags` @@ -32,4 +33,11 @@ uninstall: clean: rm -f ${BIN} -.PHONY: all clean install uninstall +dist: + rm -rf "${NAME}-${VERSION}" + mkdir -p "${NAME}-${VERSION}" + cp -f ${MAN1} ${SRC} Makefile "${NAME}-${VERSION}" + tar cf - "${NAME}-${VERSION}" | gzip -c > "${NAME}-${VERSION}.tar.gz" + rm -rf "${NAME}-${VERSION}" + +.PHONY: all clean install uninstall dist