bygfoot/Makefile.am

58 lines
77 KiB
Makefile
Raw Normal View History

2004-12-23 13:58:39 +01:00
## Process this file with automake to produce Makefile.in
2005-03-23 20:03:26 +01:00
2005-10-15 18:49:04 +02:00
AM_CFLAGS = -Wall #-fprofile-arcs -ftest-coverage -pg
2004-12-23 13:58:39 +01:00
2005-03-23 20:03:26 +01:00
SUBDIRS = src po
2007-01-27 15:46:08 +01:00
##bin_SCRIPTS = bygfoot-update
2005-03-23 20:03:26 +01:00
EXTRA_DIST = \
autogen.sh \
bygfoot.glade \
bygfoot.gladep
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update
SUPPORT_DIRS = support_files support_files/pixmaps support_files/pixmaps/live_game support_files/pixmaps/symbols support_files/pixmaps/history support_files/mmedia support_files/mmedia/pics support_files/lg_commentary support_files/strategy support_files/names support_files/definitions support_files/definitions/europe support_files/definitions/europe/israel support_files/definitions/europe/norway support_files/definitions/europe/turkey support_files/definitions/europe/belgium support_files/definitions/europe/andorra support_files/definitions/europe/bulgaria support_files/definitions/europe/romania support_files/definitions/europe/albania support_files/definitions/europe/luxembourg support_files/definitions/europe/greece support_files/definitions/europe/n_ireland support_files/definitions/europe/belarus support_files/definitions/europe/fyr_macedonia support_files/definitions/europe/moldova support_files/definitions/europe/estonia support_files/definitions/europe/russia support_files/definitions/europe/azerbaijan support_files/definitions/europe/scotland support_files/definitions/europe/netherlands support_files/definitions/europe/england support_files/definitions/europe/slovakia support_files/definitions/europe/wales support_files/definitions/europe/bosnia_herzegovina support_files/definitions/europe/armenia support_files/definitions/europe/montenegro support_files/definitions/europe/georgia support_files/definitions/europe/ireland support_files/definitions/europe/lithuania support_files/definitions/europe/slovenia support_files/definitions/europe/latvia support_files/definitions/europe/denmark support_files/definitions/europe/italy support_files/definitions/europe/croatia support_files/definitions/europe/cyprus support_files/definitions/europe/sweden support_files/definitions/europe/san_marino support_files/definitions/europe/czech support_files/definitions/europe/portugal support_files/definitions/europe/malta support_files/definitions/europe/france support_files/definitions/europe/ukraine support_files/definitions/europe/kazakhstan support_files/definitions/europe/iceland support_files/definitions/europe/germany support_files/definitions/europe/serbia support_files/definitions/europe/switzerland support_files/definitions/europe/austria support_files/definitions/europe/faroe_islands support_files/definitions/europe/spain support_files/definitions/europe/finland support_files/definitions/europe/hungary support_files/definitions/europe/poland support_files/definitions/miscellaneous support_files/definitions/miscellaneous/europe support_files/definitions/miscellaneous/wc06 support_files/definitions/miscellaneous/euro08 support_files/definitions/miscellaneous/fifa support_files/definitions/miscellaneous/eu support_files/definitions/miscellaneous/misc support_files/definitions/south_america support_files/definitions/south_america/uruguay support_files/definitions/south_america/ecuador support_files/definitions/south_america/brazil support_files/definitions/south_america/americas support_files/definitions/south_america/chile support_files/definitions/south_america/bolivia support_files/definitions/south_america/colombia support_files/definitions/south_america/argentina support_files/definitions/south_america/paraguay support_files/definitions/south_america/peru support_files/definitions/south_america/venezuela support_files/definitions/australia support_files/definitions/australia/australia support_files/definitions/australia/aus_victoria support_files/definitions/north_america support_files/definitions/north_america/mexico support_files/definitions/north_america/usa support_files/definitions/north_america/guatemala support_files/definitions/north_america/honduras support_files/definitions/north_america/jamaica support_files/definitions/north_america/canada support_files/definitions/north_america/costa_rica support_files/definitions/north_america/belize support_files/definitions/north_america/nicaragua support_files/definitions/north_america/puerto_rico support_files/definitions/north_america/el_salvador support_files/defini
2005-03-23 20:03:26 +01:00
SUPPORT_FILES = support_files/pixmaps/live_game/save.png support_files/pixmaps/live_game/stadium_riot.png support_files/pixmaps/live_game/structure_change.png support_files/pixmaps/live_game/foul.png support_files/pixmaps/live_game/goal_own.png support_files/pixmaps/live_game/injury_temp.png support_files/pixmaps/live_game/scoring_chance.png support_files/pixmaps/live_game/lost_possession.png support_files/pixmaps/live_game/red.png support_files/pixmaps/live_game/yellow.png support_files/pixmaps/live_game/miss.png support_files/pixmaps/live_game/stadium_fire.png support_files/pixmaps/live_game/penalty.png support_files/pixmaps/live_game/cross_bar.png support_files/pixmaps/live_game/whistle.png support_files/pixmaps/live_game/injury.png support_files/pixmaps/live_game/stadium_brkn.png support_files/pixmaps/live_game/goal.png support_files/pixmaps/live_game/post.png support_files/pixmaps/live_game/header.png support_files/pixmaps/live_game/sub.png support_files/pixmaps/symbols/flag_zambia.png support_files/pixmaps/symbols/flag_algeria.png support_files/pixmaps/symbols/flag_bahrain.png support_files/pixmaps/symbols/flag_netherlands.png support_files/pixmaps/symbols/flag_canada.png support_files/pixmaps/symbols/flag_uae.png support_files/pixmaps/symbols/flag_botswana.png support_files/pixmaps/symbols/flag_sm.png support_files/pixmaps/symbols/flag_euro08.png support_files/pixmaps/symbols/flag_tahiti.png support_files/pixmaps/symbols/flag_brazil.png support_files/pixmaps/symbols/flag_turkey.png support_files/pixmaps/symbols/flag_rsa.png support_files/pixmaps/symbols/flag_australia.png support_files/pixmaps/symbols/flag_greece.png support_files/pixmaps/symbols/flag_malta.png support_files/pixmaps/symbols/flag_germany.png support_files/pixmaps/symbols/flag_vietnam.png support_files/pixmaps/symbols/flag_saudi_arabia.png support_files/pixmaps/symbols/flag_azerbaijan.png support_files/pixmaps/symbols/flag_russia.png support_files/pixmaps/symbols/flag_kittsnev.png support_files/pixmaps/symbols/flag_slovakia.png support_files/pixmaps/symbols/flag_bosnia_herzegovina.png support_files/pixmaps/symbols/flag_ghana.png support_files/pixmaps/symbols/flag_ecuador.png support_files/pixmaps/symbols/flag_china.png support_files/pixmaps/symbols/flag_vanuatu.png support_files/pixmaps/symbols/flag_bolivia.png support_files/pixmaps/symbols/flag_colombia.png support_files/pixmaps/symbols/flag_romania.png support_files/pixmaps/symbols/flag_egypt.png support_files/pixmaps/symbols/flag_oman.png support_files/pixmaps/symbols/flag_iraq.png support_files/pixmaps/symbols/flag_portugal.png support_files/pixmaps/symbols/flag_france.png support_files/pixmaps/symbols/flag_fyr_macedonia.png support_files/pixmaps/symbols/flag_morocco.png support_files/pixmaps/symbols/flag_angola.png support_files/pixmaps/symbols/flag_cameroon.png support_files/pixmaps/symbols/flag_kenya.png support_files/pixmaps/symbols/flag_es.png support_files/pixmaps/symbols/flag_england.png support_files/pixmaps/symbols/flag_lie.png support_files/pixmaps/symbols/flag_eu.png support_files/pixmaps/symbols/flag_sudan.png support_files/pixmaps/symbols/flag_peru.png support_files/pixmaps/symbols/flag_tunisia.png support_files/pixmaps/symbols/flag_lithuania.png support_files/pixmaps/symbols/flag_macedonia.png support_files/pixmaps/symbols/flag_croatia.png support_files/pixmaps/symbols/flag_turkmenistan.png support_files/pixmaps/symbols/flag_solomon.png support_files/pixmaps/symbols/flag_usa.png support_files/pixmaps/symbols/flag_el_salvador.png support_files/pixmaps/symbols/flag_panama.png support_files/pixmaps/symbols/flag_cdi.png support_files/pixmaps/symbols/flag_switzerland.png support_files/pixmaps/symbols/flag_liberia.png support_files/pixmaps/symbols/flag_costa_rica.png support_files/pixmaps/symbols/flag_lux.png support_files/pixmaps/symbols/flag_austria.png support_files/pixmaps/symbols/flag_togo.png support_files/pixmaps/symbols/flag_faroe_islands.png support_files/pixmaps/symbols/flag_paraguay.png support_files/pixmaps/symbols/flag_rwanda.png support_files/pixmaps/symbols/flag_jordan.pn
2005-03-23 20:03:26 +01:00
generate-xml:
intltool-merge --xml-style -m po support_files/lg_commentary/lg_commentary_en.xml.in lg_commentary.xml
intltool-merge --xml-style -m po support_files/news/news_en.xml.in news.xml
for lang in $(ALL_LINGUAS) ; do \
mv $$lang/lg_commentary.xml support_files/lg_commentary/lg_commentary_$${lang}.xml; \
mv $$lang/news.xml support_files/news/news_$${lang}.xml; \
rm -rf $$lang; \
done
mv C/lg_commentary.xml support_files/lg_commentary/lg_commentary_en.xml; \
mv C/news.xml support_files/news/news_en.xml; \
rm -rf C;
install-data-local: generate-xml
2005-03-23 20:03:26 +01:00
@$(NORMAL_INSTALL)
for dir in $(SUPPORT_DIRS); do $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$dir; done
for file in $(SUPPORT_FILES); do $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/$$file; done
dist-hook:
for dir in $(SUPPORT_DIRS); do mkdir $(distdir)/$$dir; done
for file in $(SUPPORT_FILES); do cp -p $$file $(distdir)/$$file; done
uninstall:
rm -rf $(DESTDIR)$(pkgdatadir)
rm -rf $(prefix)/bin/bygfoot*
rm -rf $(prefix)/man/man6/bygfoot.6
for dir in $(prefix)/share/locale/*; do rm -rf $$dir/LC_MESSAGES/bygfoot*; done
doc:
doxygen Doxyfile 1> /dev/null
doc-verbose:
doxygen Doxyfile
2005-03-23 20:03:26 +01:00
doc-clean:
rm -rf docs/*