summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Rules.make18
1 files changed, 10 insertions, 8 deletions
diff --git a/Rules.make b/Rules.make
index b9eab7e..a3646f8 100644
--- a/Rules.make
+++ b/Rules.make
@@ -117,18 +117,20 @@ $(TOPDIR)/scripts/subst : FORCE
117 117
118$(TOPDIR)/scripts/filesubst : FORCE 118$(TOPDIR)/scripts/filesubst : FORCE
119 @( \ 119 @( \
120 echo 's,\$$OPIEDIR/root/,/,g'; \
121 echo 's,$(OPIEDIR)/root/,/,g'; \
120 echo 's,\$$OPIEDIR,$(prefix),g'; \ 122 echo 's,\$$OPIEDIR,$(prefix),g'; \
121 echo 's,$(OPIEDIR),$(prefix),g'; \ 123 echo 's,$(OPIEDIR),$(prefix),g'; \
122 echo 's,\$$QTDIR,$(prefix),g'; \ 124 echo 's,\$$QTDIR,$(prefix),g'; \
123 echo 's,$(QTDIR),$(prefix),g'; \ 125 echo 's,$(QTDIR),$(prefix),g'; \
124 echo 's,^root/,/,g'; \ 126 echo 's,^\(\./\)*root/,/,g'; \
125 echo 's,^etc/,$(prefix)/etc/,g'; \ 127 echo 's,^\(\./\)*etc/,$(prefix)/etc/,g'; \
126 echo 's,^lib/,$(prefix)/lib/,g'; \ 128 echo 's,^\(\./\)*lib/,$(prefix)/lib/,g'; \
127 echo 's,^bin/,$(prefix)/bin/,g'; \ 129 echo 's,^\(\./\)*bin/,$(prefix)/bin/,g'; \
128 echo 's,^pics/,$(prefix)/pics/,g'; \ 130 echo 's,^\(\./\)*pics/,$(prefix)/pics/,g'; \
129 echo 's,^sounds/,$(prefix)/sounds/,g'; \ 131 echo 's,^\(\./\)*sounds/,$(prefix)/sounds/,g'; \
130 echo 's,^plugins/,$(prefix)/plugins/,g'; \ 132 echo 's,^\(\./\)*plugins/,$(prefix)/plugins/,g'; \
131 echo 's,^apps/,$(prefix)/apps/,g'; \ 133 echo 's,^\(\./\)*apps/,$(prefix)/apps/,g'; \
132 ) > $@ || ( rm -f $@; exit 1 ) 134 ) > $@ || ( rm -f $@; exit 1 )
133 135
134## general rules ## 136## general rules ##