prout

smaller "lp" command
git clone git://git.2f30.org/prout
Log | Files | Refs | README | LICENSE

commit faa2147ebdc6236e3a9e236982d0072e5622c04d
parent b0ea33e743ab883d189402e73b207efbe69f8f60
Author: Klemens Nanni <kl3@posteo.org>
Date:   Sun, 14 Feb 2016 01:19:51 +0100

No need to define RM and GZIP

Diffstat:
MMakefile | 6+++---
Mconfig.mk | 7+++----
2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile @@ -18,12 +18,12 @@ prout.1.gz: prout.1 all : prout prout.1.gz clean : - ${RM} -f prout *.o *.gz *~ + rm -f prout *.o *.gz *~ install: prout prout.1.gz install -D -m 0755 prout ${DESTDIR}${PREFIX}/bin/prout install -D -m 0644 prout.1.gz ${DESTDIR}${MANPREFIX}/man1/prout.1.gz uninstall: - ${RM} ${DESTDIR}${PREFIX}/bin/prout - ${RM} ${DESTDIR}${MANPREFIX}/man1/prout.1.gz + rm ${DESTDIR}${PREFIX}/bin/prout + rm ${DESTDIR}${MANPREFIX}/man1/prout.1.gz diff --git a/config.mk b/config.mk @@ -2,9 +2,8 @@ PREFIX:=/usr MANPREFIX:=${PREFIX}/share/man +LDFLAGS = `cups-config --libs` +CFLAGS = -Wall -pedantic `cups-config --cflags` + CC = cc LD= ${CC} -RM = rm -GZ = gzip -CFLAGS = -Wall -I inc -pedantic `cups-config --cflags` -LDFLAGS = `cups-config --libs`