author | schurig <schurig> | 2003-06-06 09:34:17 (UTC) |
---|---|---|
committer | schurig <schurig> | 2003-06-06 09:34:17 (UTC) |
commit | cac58fc981164b4c0853cddc017ea0c79773cde4 (patch) (unidiff) | |
tree | 292c2c461681814f88d59a8494032802211b7921 | |
parent | 0f3deb5cf6049c09949996cff1f9deb78305ab4f (diff) | |
download | opie-cac58fc981164b4c0853cddc017ea0c79773cde4.zip opie-cac58fc981164b4c0853cddc017ea0c79773cde4.tar.gz opie-cac58fc981164b4c0853cddc017ea0c79773cde4.tar.bz2 |
filesubst i18n -> $(prefix)/i18n
-rw-r--r-- | Rules.make | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -116,32 +116,33 @@ $(TOPDIR)/scripts/subst : FORCE | |||
116 | ) > $@ || ( rm -f $@; exit 1 ) | 116 | ) > $@ || ( rm -f $@; exit 1 ) |
117 | 117 | ||
118 | $(TOPDIR)/scripts/filesubst : FORCE | 118 | $(TOPDIR)/scripts/filesubst : FORCE |
119 | @( \ | 119 | @( \ |
120 | echo 's,\$$OPIEDIR/root/,/,g'; \ | 120 | echo 's,\$$OPIEDIR/root/,/,g'; \ |
121 | echo 's,$(OPIEDIR)/root/,/,g'; \ | 121 | echo 's,$(OPIEDIR)/root/,/,g'; \ |
122 | echo 's,\$$OPIEDIR,$(prefix),g'; \ | 122 | echo 's,\$$OPIEDIR,$(prefix),g'; \ |
123 | echo 's,$(OPIEDIR),$(prefix),g'; \ | 123 | echo 's,$(OPIEDIR),$(prefix),g'; \ |
124 | echo 's,\$$QTDIR,$(prefix),g'; \ | 124 | echo 's,\$$QTDIR,$(prefix),g'; \ |
125 | echo 's,$(QTDIR),$(prefix),g'; \ | 125 | echo 's,$(QTDIR),$(prefix),g'; \ |
126 | echo 's,^\(\./\)*root/,/,g'; \ | 126 | echo 's,^\(\./\)*root/,/,g'; \ |
127 | echo 's,^\(\./\)*etc/,$(prefix)/etc/,g'; \ | 127 | echo 's,^\(\./\)*etc/,$(prefix)/etc/,g'; \ |
128 | echo 's,^\(\./\)*lib/,$(prefix)/lib/,g'; \ | 128 | echo 's,^\(\./\)*lib/,$(prefix)/lib/,g'; \ |
129 | echo 's,^\(\./\)*bin/,$(prefix)/bin/,g'; \ | 129 | echo 's,^\(\./\)*bin/,$(prefix)/bin/,g'; \ |
130 | echo 's,^\(\./\)*pics/,$(prefix)/pics/,g'; \ | 130 | echo 's,^\(\./\)*pics/,$(prefix)/pics/,g'; \ |
131 | echo 's,^\(\./\)*sounds/,$(prefix)/sounds/,g'; \ | 131 | echo 's,^\(\./\)*sounds/,$(prefix)/sounds/,g'; \ |
132 | echo 's,^\(\./\)*i18n/,$(prefix)/i18n/,g'; \ | ||
132 | echo 's,^\(\./\)*plugins/,$(prefix)/plugins/,g'; \ | 133 | echo 's,^\(\./\)*plugins/,$(prefix)/plugins/,g'; \ |
133 | echo 's,^\(\./\)*apps/,$(prefix)/apps/,g'; \ | 134 | echo 's,^\(\./\)*apps/,$(prefix)/apps/,g'; \ |
134 | echo 's,^\(\./\)*share/,$(prefix)/share/,g'; \ | 135 | echo 's,^\(\./\)*share/,$(prefix)/share/,g'; \ |
135 | ) > $@ || ( rm -f $@; exit 1 ) | 136 | ) > $@ || ( rm -f $@; exit 1 ) |
136 | 137 | ||
137 | ## general rules ## | 138 | ## general rules ## |
138 | 139 | ||
139 | define descend | 140 | define descend |
140 | $(MAKE) $(if $(QMAKE),QMAKE=$(QMAKE)) -C $(1) $(2) | 141 | $(MAKE) $(if $(QMAKE),QMAKE=$(QMAKE)) -C $(1) $(2) |
141 | endef | 142 | endef |
142 | 143 | ||
143 | define makefilegen | 144 | define makefilegen |
144 | cd $(if $(1),$(shell dirname $(1))); $(TOPDIR)/qmake/qmake $(3) -o $(if $(1),$(shell basename $(1))) `cat $(OPIEDIR)/packages | grep " \`echo $(1)|sed -e 's,/Makefile$$,,'\`" | \ | 145 | cd $(if $(1),$(shell dirname $(1))); $(TOPDIR)/qmake/qmake $(3) -o $(if $(1),$(shell basename $(1))) `cat $(OPIEDIR)/packages | grep " \`echo $(1)|sed -e 's,/Makefile$$,,'\`" | \ |
145 | head -1 | awk '{print $$3}'` | 146 | head -1 | awk '{print $$3}'` |
146 | endef | 147 | endef |
147 | 148 | ||