forked from Imagelibrary/rtems
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
14 lines
304 B
Makefile
14 lines
304 B
Makefile
TARGETS=@TARGETS@
|
|
RTEMS_API=@RTEMS_API@
|
|
RPMDBPATH=@RPMDBPATH@
|
|
|
|
all:
|
|
export PATH=$(prefix)/bin:$$PATH; \
|
|
for t in $(TARGETS) ; \
|
|
do \
|
|
rpmbuild -v $(RPMDBPATH) -ba $(srcdir)/rtems.spec --target=$$t-rtems$(RTEMS_API) ; \
|
|
if [ $$? -ne 0 ]; then \
|
|
exit 1 ; \
|
|
fi \
|
|
done
|