Stop hiding what we're doing in the Makefile

On Gentoo for instance they are literally stripping the @'s from our
Makefiles to make the output usable. It makes sense to remove this
abstraction.
This commit is contained in:
FRIGN 2016-09-02 10:49:42 +02:00
parent 11481ed250
commit cd2893965f

View file

@ -11,29 +11,26 @@ quark.o: quark.c config.h config.mk
${CC} -c ${CFLAGS} quark.c ${CC} -c ${CFLAGS} quark.c
config.h: config.h:
@echo creating $@ from config.def.h cp config.def.h $@
@cp config.def.h $@
clean: clean:
rm -f quark quark.o quark-${VERSION}.tar.gz rm -f quark quark.o quark-${VERSION}.tar.gz
dist: clean dist: clean
@echo creating dist tarball mkdir -p quark-${VERSION}
@mkdir -p quark-${VERSION} cp -R LICENSE Makefile arg.h config.def.h config.mk quark.1 \
@cp -R LICENSE Makefile arg.h config.def.h config.mk quark.1 quark.c quark-${VERSION} quark.c quark-${VERSION}
@tar -cf quark-${VERSION}.tar quark-${VERSION} tar -cf quark-${VERSION}.tar quark-${VERSION}
@gzip quark-${VERSION}.tar gzip quark-${VERSION}.tar
@rm -rf quark-${VERSION} rm -rf quark-${VERSION}
install: all install: all
@echo installing executable file to ${DESTDIR}${PREFIX}/bin mkdir -p ${DESTDIR}${PREFIX}/bin
@mkdir -p ${DESTDIR}${PREFIX}/bin cp -f quark ${DESTDIR}${PREFIX}/bin
@cp -f quark ${DESTDIR}${PREFIX}/bin chmod 755 ${DESTDIR}${PREFIX}/bin/quark
@chmod 755 ${DESTDIR}${PREFIX}/bin/quark mkdir -p ${DESTDIR}${MANPREFIX}/man1
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1 cp quark.1 ${DESTDIR}${MANPREFIX}/man1/quark.1
@mkdir -p ${DESTDIR}${MANPREFIX}/man1 chmod 644 ${DESTDIR}${MANPREFIX}/man1/quark.1
@cp quark.1 ${DESTDIR}${MANPREFIX}/man1/quark.1
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/quark.1
uninstall: uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/quark rm -f ${DESTDIR}${PREFIX}/bin/quark