Commit 5e7afd34 authored by Bruno Coudoin's avatar Bruno Coudoin

Improved the makefiles all around. Now the data images are copied

when installed. Still missing the activity icons.

svn path=/branches/gcomprixo/; revision=2857
parent 099b782d
......@@ -655,6 +655,12 @@ src/geography-activity/activity/Makefile
src/geography-activity/Makefile
src/geography-activity/resources/Makefile
src/geography-activity/resources/geography/Makefile
src/geography-activity/resources/geography/africa/Makefile
src/geography-activity/resources/geography/afrique/Makefile
src/geography-activity/resources/geography/continents/Makefile
src/geography-activity/resources/geography/europe/Makefile
src/geography-activity/resources/geography/northamerica/Makefile
src/geography-activity/resources/geography/southamerica/Makefile
src/chat-activity/activity/Makefile
src/chat-activity/Makefile
src/readingv-activity/activity/Makefile
......@@ -711,6 +717,12 @@ src/geography_country-activity/activity/Makefile
src/geography_country-activity/Makefile
src/geography_country-activity/resources/Makefile
src/geography_country-activity/resources/geography_country/Makefile
src/geography_country-activity/resources/geography_country/argentina/Makefile
src/geography_country-activity/resources/geography_country/france_region/Makefile
src/geography_country-activity/resources/geography_country/germany_region/Makefile
src/geography_country-activity/resources/geography_country/norway_counties/Makefile
src/geography_country-activity/resources/geography_country/poland_voivodship/Makefile
src/geography_country-activity/resources/geography_country/turkey_district/Makefile
src/paratrooper-activity/activity/Makefile
src/paratrooper-activity/Makefile
src/paratrooper-activity/resources/Makefile
......
......@@ -25,7 +25,8 @@ $(xml_DATA): %.xml: %.xml.in
CLEANFILES = $(xml_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/advanced_colors
img_DATA = \
advanced_colors1.jpg \
advanced_colors2.jpg \
advanced_colors3.jpg \
......@@ -36,3 +37,5 @@ EXTRA_DIST = \
advanced_colors8.jpg \
advanced_colors9.jpg \
advanced_colors_highlight.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/algebra
img_DATA = \
scenery2_background.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
100.png
10.png
1.png
25.png
2.png
3.png
4.png
50.png
5.png
6.png
7.png
8.png
9.png
button.png
by.png
div.png
equal.png
minus.png
plus.png
tiger1_by_Ralf_Schmode.jpg
tigercub003.jpg
tigerdrink001.jpg
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/algebra_guesscount
img_DATA = \
100.png \
10.png \
1.png \
25.png \
2.png \
3.png \
4.png \
50.png \
5.png \
6.png \
7.png \
8.png \
9.png \
button.png \
by.png \
div.png \
equal.png \
minus.png \
plus.png \
tiger1_by_Ralf_Schmode.jpg \
tigercub003.jpg \
tigerdrink001.jpg \
tigerplay001.jpg
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
apple.png
cerise.png
egg.png
eggpot.png
football.png
glass.png
peer.png
scenery5_background.png
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/algorithm
img_DATA = \
apple.png \
cerise.png \
egg.png \
eggpot.png \
football.png \
glass.png \
peer.png \
scenery5_background.png \
strawberry.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/awele
img_DATA = \
awele_frame.png \
bouton1_clic.png \
bouton1_notify.png \
......@@ -23,3 +24,5 @@ EXTRA_DIST = \
graine3.png \
graine4bis.png \
graine4.png
EXTRA_DIST = $(img_DATA)
......@@ -23,7 +23,8 @@ $(xml_DATA): %.xml: %.xml.in
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/babymatch
img_DATA = \
apple.png \
bell.png \
bicycle.png \
......@@ -62,3 +63,5 @@ EXTRA_DIST = \
tuxplane.png \
umbrella.png \
windflag5.png
EXTRA_DIST = $(img_DATA)
......@@ -23,7 +23,8 @@ $(xml_DATA): %.xml: %.xml.in
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/babyshapes
img_DATA = \
T_baby_bottle.png \
T_banana.png \
T_bread_slice.png \
......@@ -41,3 +42,5 @@ EXTRA_DIST = \
T_round_cookie.png \
T_suggar_box.png \
T_yahourt.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/ballcatch
img_DATA = \
beach1.png \
beach2.png \
beach3.png \
......@@ -6,3 +7,5 @@ EXTRA_DIST = \
hand.png \
shift_key.png \
tux.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/bargame
img_DATA = \
blue_ball.png \
board.png \
case_last.png \
......@@ -17,3 +18,5 @@ EXTRA_DIST = \
tux_graduate.png \
tux.png \
tux_teen.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/billard
img_DATA = \
foot_background.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/canal_lock
img_DATA = \
canal_lock_bg.png \
tuxboat.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/chess
img_DATA = \
Bb.png \
Bk.png \
Bn.png \
......@@ -11,3 +12,5 @@ EXTRA_DIST = \
WP.png \
WQ.png \
WR.png
EXTRA_DIST = $(img_DATA)
......@@ -26,4 +26,40 @@ xml_DATA = $(xml_in_files:.xml.in=.xml)
$(xml_DATA): %.xml: %.xml.in
sed -e "s/\(<\{1\}\/*\)_/\1/g" $< > $@
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/chronos
img_DATA = \
1955ds19.png \
1.jpg \
2.jpg \
3.jpg \
4.jpg \
autumn.png \
bell_X1.png \
benz1885.png \
bg.jpg \
bleriot.png \
bolle1878.png \
celerifere.png \
chronos-tuxtree1.png \
chronos-tuxtree2.png \
chronos-tuxtree3.png \
chronos-tuxtree4.png \
Eole.png \
fardier.png \
garden1.png \
garden2.png \
garden3.png \
garden4.png \
helico_cornu.png \
lancia1923.png \
lindbergh.png \
mongolfiere.png \
rafale.png \
renault1899.png \
spring.png \
st_rocket.png \
summer.png \
winter.png \
wright_flyer.png
EXTRA_DIST = $(img_DATA)
Moon photo comes from NASA
Space sounds from Tuxpaint and Vegastrike.
celerifere.png Eole.png fardier.png mongolfiere.png created by Franck Doucet <franckdoucet@wanadoo.fr>
Bell_X1.png rafale.png bleriot.png lindbergh.png wright_flyer.png created by Franck Doucet <franckdoucet@wanadoo.fr>
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/click_on_letter
img_DATA = \
scenery4_background.png \
wagon-green.png \
wagon-yellow.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/clickgame
img_DATA = \
sea1.jpg \
sea2.jpg \
sea3.jpg \
sea4.jpg \
sea5.jpg \
sea6.jpg
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/clockgame
img_DATA = \
clockgame-bg.jpg
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/colors
img_DATA = \
colors_bg.png \
colors_highlight.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/connect4
img_DATA = \
back.png \
stone_1.png \
stone_2.png \
tux-teacher.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/crane
img_DATA = \
arrow_b.png \
arrow_down.png \
arrow_left.png \
......@@ -23,3 +24,5 @@ EXTRA_DIST = \
water_drop2.png \
water_spot1.png \
water_spot2.png
EXTRA_DIST = $(img_DATA)
......@@ -16,7 +16,8 @@ xml_DATA = $(xml_in_files:.xml.in=.xml)
$(xml_DATA): %.xml: %.xml.in
sed -e "s/\(<\{1\}\/*\)_/\1/g" $< > $@
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/doubleentry
img_DATA = \
circle-r0-g2.png \
circle-r0-g3.png \
circle-r0-g4.png \
......@@ -42,3 +43,5 @@ EXTRA_DIST = \
d-entry_pomme_2.png \
d-entry_pomme_3.png \
doubleentry-bg.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/drawnumber
img_DATA = \
dn_bear1.png \
dn_bear2.png \
dn_de1.png \
......@@ -18,3 +19,5 @@ EXTRA_DIST = \
dn_poisson2.png \
dn_sapin1.png \
dn_sapin2.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/electric
img_DATA = \
battery_dead.png \
battery_icon.png \
battery.png \
......@@ -32,3 +33,5 @@ EXTRA_DIST = \
switch_icon.png \
switch_off.png \
switch_on.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/enumerate
img_DATA = \
enumerate_answer_focus.png \
enumerate_answer.png \
enumerate_background.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/erase
img_DATA = \
bear001.jpg \
black-headed-gull.jpg \
butterfly.jpg \
......@@ -41,3 +42,5 @@ EXTRA_DIST = \
transparent_square_green.png \
transparent_square.png \
transparent_square_yellow.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/fifteen
img_DATA = \
fifteen_frame.png
EXTRA_DIST = $(img_DATA)
EXTRA_DIST = \
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/followline
img_DATA = \
followline.png \
water_spot.png
EXTRA_DIST = $(img_DATA)
SUBDIRS = africa afrique continents europe northamerica southamerica
xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/geography
......
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@//geography/africa
img_DATA = \
algeria.png \
all_south_africa.png \
angola.png \
benin.png \
botswana.png \
burkina_faso.png \
burundi.png \
cameroon.png \
central_african_republic.png \
chad.png \
democratic_republic_of_congo.png \
djibouti.png \
egypt.png \
equatorial_guinea.png \
eritrea.png \
ethiopia.png \
gabon.png \
ganbia.png \
ghana.png \
guinea_bissau.png \
guinea.png \
ivory_coast.png \
kenya.png \
lesotho.png \
liberia.png \
libya.png \
madagascar.png \
malawi.png \
mali.png \
mauritania.png \
moroco.png \
mozambique.png \
namibia.png \
nigeria.png \
niger.png \
north_africa.png \
republic_of_congo.png \
rwanda.png \
senegal.png \
sierra_leone.png \
somalia.png \
south_africa.png \
sudan.png \
swaziland.png \
tanzania.png \
togo.png \
tunisia.png \
uganda.png \
western_sahara.png \
zambia.png \
zimbabwe.png
EXTRA_DIST = $(img_DATA)
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@//geography/afrique
img_DATA = \
africa.png \
algeria.png \
angola.png \
benin.png \
botswana.png \
burkina.png \
cameroon.png \
chad.png \
congo.png \
egypt.png \
eritrea.png \
ethiopia.png \
gabon.png \
ghana.png \
guinea.png \
ivory_coast.png \
kenya.png \
liberia.png \
libya.png \
madagascar.png \
malawi.png \
mali.png \
mauritania.png \
moroco.png \
mozambique.png \
namibia.png \
nigeria.png \
niger.png \
rep_centrafrique.png \
rep_congo.png \
senegal.png \
somalia.png \
soudan.png \
south_africa.png \
tanzania.png \
togo.png \
tunisia.png \
uganda.png \
zambia.png \
zimbabwe.png
EXTRA_DIST = $(img_DATA)
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@//geography/continents
img_DATA =
africa.png \
america.png \
antartica.png \
asia.png \
back.png \
europa.png \
oceania.png
EXTRA_DIST = $(img_DATA)
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@//geography/europe
img_DATA = \
albania.png \
austria.png \
belarus.png \
belgium.png \
bosnia_herzegovina.png \
bulgaria.png \
croatia.png \
cyprus.png \
czech.png \
denmark.png \
estonia.png \
europe.png \
finland.png \
france.png \
germany.png \
greece.png \
hungary.png \
iceland.png \
ireland.png \
italy.png \
latvia.png \
lithuania.png \
luxembourg.png \
macedonia.png \
moldova.png \
netherland.png \
norway.png \
poland.png \
portugal.png \
romania.png \
russia.png \
serbia_montenegro.png \
slovakia.png \
slovenia.png \
spain.png \
sweden.png \
switz.png \
turkey.png \
ukraine.png \
united_kingdom.png
EXTRA_DIST = $(img_DATA)
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@//geography/northamerica
img_DATA = \
alaska.png \
bahamas.png \
canada.png \
cuba.png \
dominican_republic.png \
greenland.png \
haiti.png \
iceland.png \
jamaica.png \
mexico.png \
north_america.png \
usa-complete.png \
usa.png
EXTRA_DIST = $(img_DATA)
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@//geography/southamerica
img_DATA = \
argentina.png \
bolivia.png \
brazil.png \
chile.png \
colombia.png \
ecuador.png \
french_guiana.png \
guyana.png \
panama.png \
paraguay.png \
peru.png \
south_america.png \
suriname.png \
uruguay.png \
venezuela.png
EXTRA_DIST = $(img_DATA)