Introduction
Introduction Statistics Contact Development Disclaimer Help
Makefile: improvements - json2tsv - JSON to TSV converter
git clone git://git.codemadness.org/json2tsv
Log
Files
Refs
README
LICENSE
---
commit df5cda00ba8ef98787d15a666cd06b1fcb336b4c
parent 29d08288c8e16e76e408f2cab0729d7136b493fb
Author: Hiltjo Posthuma <[email protected]>
Date: Wed, 10 Jun 2020 14:38:45 +0200
Makefile: improvements
Pointed out by quinq, thanks
* Use ar -rc (not ar rc) as defined in POSIX.
* Install license as documentation too.
Diffstat:
M Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -39,7 +39,7 @@ ${OBJ}: ${HDR}
${CC} ${CFLAGS} ${CPPFLAGS} -o $@ -c $<
${LIBJSON}: ${LIBJSONOBJ}
- ${AR} rc $@ $?
+ ${AR} -rc $@ $?
${RANLIB} $@
dist:
@@ -61,7 +61,7 @@ install: all
for f in ${BIN}; do chmod 755 "${DESTDIR}${PREFIX}/bin/$$f"; done
# installing example files.
mkdir -p "${DESTDIR}${DOCPREFIX}"
- cp -f README "${DESTDIR}${DOCPREFIX}"
+ cp -f ${DOC} "${DESTDIR}${DOCPREFIX}"
# installing manual pages for general commands: section 1.
mkdir -p "${DESTDIR}${MANPREFIX}/man1"
cp -f ${MAN1} "${DESTDIR}${MANPREFIX}/man1"
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.