chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3849817
)
Tidy up makefile
author
Richard Kettlewell
<rjk@greenend.org.uk>
Mon, 9 Jun 2008 06:44:30 +0000
(07:44 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Mon, 9 Jun 2008 06:44:30 +0000
(07:44 +0100)
disobedience/Makefile.am
patch
|
blob
|
blame
|
history
diff --git
a/disobedience/Makefile.am
b/disobedience/Makefile.am
index 8c492737798e40fb61908189c8e19482b35a5298..5b0c03acab79b697cd6786b233542e2e83b37aac 100644
(file)
--- a/
disobedience/Makefile.am
+++ b/
disobedience/Makefile.am
@@
-47,14
+47,15
@@
disobedience.html: ../doc/disobedience.1 $(top_srcdir)/scripts/htmlman
misc.o: images.h
images.h: $(PNGS)
misc.o: images.h
images.h: $(PNGS)
+ set -e; \
exec > @$.new; \
for png in $(PNGS); do \
exec > @$.new; \
for png in $(PNGS); do \
- name=`echo $$png | $(GNUSED) 's,.*/,,;s,\.png,,;'`;
\
+ name=`echo $$png | $(GNUSED) 's,.*/,,;s,\.png,,;'`; \
gdk-pixbuf-csource --raw --name=image_$$name $$png; \
done; \
echo "static const struct image images[] = {"; \
for png in $(PNGS); do \
gdk-pixbuf-csource --raw --name=image_$$name $$png; \
done; \
echo "static const struct image images[] = {"; \
for png in $(PNGS); do \
- name=`echo $$png | $(GNUSED) 's,.*/,,;s,\.png,,;'`;
\
+ name=`echo $$png | $(GNUSED) 's,.*/,,;s,\.png,,;'`; \
echo " { \"$$name.png\", image_$$name },"; \
done; \
echo "};"
echo " { \"$$name.png\", image_$$name },"; \
done; \
echo "};"