]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blobdiff - Makefile
din: Update documentation
[pes-rpp/rpp-lib.git] / Makefile
index de4d7c7b3b83f8907fbd6f59177f50a2558e8a2f..16188fe1bcfc2684866b4672ddd5414e50c0a0a4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ print-targets:
 clean: $(subdir-targets)
 
 lib: # Build only the library
-       $(MAKE) -C build/tms570_hdk/Debug
+       $(MAKE) -C build/tms570_hydctr/Debug
 
 doc: # Build API documentation (Doxygen)
        $(MAKE) -C rpp/doc/api/
@@ -44,7 +44,7 @@ subdir-build/%: print-targets
        $(MAKE) -C $(@:subdir-%=%) $(MAKECMDGOALS)
 
 
-UNCRUSTIFY_FILES = $(shell git ls-files|git check-attr --stdin uncrustify|awk -F: '/uncrustify: set$$/ {print $$1}')
+UNCRUSTIFY_FILES = $(shell etc/git-ls-files-attr uncrustify)
 UNCRUSTIFY_CFG = etc/uncrustify.cfg
 define UNCRUSTIFY_ALL
 $(foreach i,$(UNCRUSTIFY_FILES),git show HEAD:$i | uncrustify -c $(UNCRUSTIFY_CFG) -o $i
@@ -58,9 +58,9 @@ uncrustify:
        $(UNCRUSTIFY_ALL)
 
 
-RELEASE_PREFIX = rpp-lib
 include common.mk
 
+$(eval $(call release_rules,rpp-lib))
 release: $(RELEASE_BASENAME).zip
 
 $(RELEASE_BASENAME)::