Blame Makefile

Alain Reguera Delgado 2fcc87
NAME=tcar
Alain Reguera Delgado 2fcc87
DATADIR=/usr/share
Alain Reguera Delgado 2fcc87
BINDIR=/usr/bin
Alain Reguera Delgado 2fcc87
Alain Reguera Delgado 2fcc87
install:
Alain Reguera Delgado 2fcc87
	for i in scripts brushes fonts palettes;do \
Alain Reguera Delgado a37c26
		mkdir -p ${DESTDIR}${DATADIR}/${NAME}/$$i; \
Alain Reguera Delgado a37c26
	    cp -rp ${NAME}-$$i/* ${DESTDIR}${DATADIR}/${NAME}/$$i/; \
Alain Reguera Delgado 2fcc87
	done; \
Alain Reguera Delgado 2fcc87
	mkdir -p ${DESTDIR}${BINDIR}; \
Alain Reguera Delgado 2fcc87
	ln -s ${DATADIR}/${NAME}/scripts/${NAME}.sh ${DESTDIR}${BINDIR}/${NAME}; \
Alain Reguera Delgado 2fcc87
	for i in hello prepare render locale tuneup;do \
Alain Reguera Delgado a37c26
		mkdir -p ${DESTDIR}${DATADIR}/${NAME}/scripts/modules/$$i; \
Alain Reguera Delgado a37c26
		cp -rp ${NAME}-scripts-$$i/* ${DESTDIR}${DATADIR}/${NAME}/scripts/modules/$$i/ ; \
Alain Reguera Delgado 2fcc87
	done; \
Alain Reguera Delgado 2fcc87
	for i in brands dist docs icons promo webenv;do \
Alain Reguera Delgado a37c26
	    mkdir -p ${DESTDIR}${DATADIR}/${NAME}/models/$$i ; \
Alain Reguera Delgado a37c26
	    cp -rp ${NAME}-models-$$i/* ${DESTDIR}${DATADIR}/${NAME}/models/$$i/ ;\
Alain Reguera Delgado 2fcc87
	done;