@echo $@: config.mk >> $(DEPDIR)/$(@F:.o=.d)
install: ${PRG}
- install ${PRG} ${DESTDIR}/${PREFIX}/bin
+ $(info installing ${PACKAGE} in ${PREFIX})
+ @install ${PRG} ${DESTDIR}/${PREFIX}/bin
+ @sed "s#PREFIX#${PREFIX}#g" scripts/gwion-config > gwion-config
+ @install gwion-config ${DESTDIR}/${PREFIX}/bin/gwion-config
+ @rm gwion-config
+ @mkdir -p ${DESTDIR}/${PREFIX}/include/gwion
+ @cp include/*.h ${DESTDIR}/${PREFIX}/include/gwion
uninstall:
+ $(info uninstalling ${PACKAGE} from ${PREFIX})
rm ${DESTDIR}/${PREFIX}/bin/${PRG}
test: