find *.hpp headers below src/ automatically at make dist time

remove those from the "old" listing in src/Makefile.am
This commit is contained in:
Nils Kneuper 2008-04-13 16:37:00 +00:00
parent fbfb318201
commit 36488c435c
2 changed files with 3 additions and 164 deletions

View file

@ -13,6 +13,7 @@ finddata=(cd $(top_srcdir) && find data fonts icons images sounds $(findfilterfl
finddatadirs=(cd $(top_srcdir) && find data fonts icons images sounds -type d \! \( -name .svn -prune \) -print )
# List non-installable utility files
findnoinst=(cd $(top_srcdir) && find utils $(findfilterflags) -print )
findnoinst_headers=(cd $(top_srcdir) && find src -name "*.hpp" -print )
# Find files derived from the manual that should go in a distribution
finddocdist=(cd $(top_srcdir) && find doc/manual -name "*.html" -o -name "*.css" -o -name "*.jpg" -o -name "*.txt")
@ -145,7 +146,7 @@ endif
dist-hook:
srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
( $(finddata); $(finddocdist); $(findnoinst); $(findextrapo) ) | (cd $(top_srcdir) && tar cf - -T -) | (cd $(distdir) && tar xf -)
( $(finddata); $(finddocdist); $(findnoinst); $(findnoinst_headers); $(findextrapo) ) | (cd $(top_srcdir) && tar cf - -T -) | (cd $(distdir) && tar xf -)
dist_noinst_DATA = copyright changelog players_changelog SConstruct campaign_server.dsp editor.dev editor_gcc4.dev map_editor.dsp server.dev server.dsp unit_test.dev wesnothd.dev wesnoth.dev wesnothd_gcc4.dev wesnoth.dsp wesnoth.dsw wesnoth_gcc4.dev wesnoth.kdevelop

View file

@ -229,169 +229,7 @@ test_DEPENDENCIES=libwesnoth-core.a libwesnoth.a
#############################################################################
noinst_HEADERS = \
tools/exploder_composer.hpp \
tools/exploder_utils.hpp \
tools/exploder_cutter.hpp \
serialization/tokenizer.hpp \
serialization/parser.hpp \
serialization/binary_or_text.hpp \
serialization/binary_wml.hpp \
serialization/preprocessor.hpp \
serialization/string_utils.hpp \
widgets/progressbar.hpp \
widgets/textbox.hpp \
widgets/combo.hpp \
widgets/file_menu.hpp \
widgets/scrollpane.hpp \
widgets/menu.hpp \
widgets/button.hpp \
widgets/label.hpp \
widgets/slider.hpp \
widgets/scrollbar.hpp \
widgets/widget.hpp \
widgets/scrollarea.hpp \
server/player.hpp \
server/game.hpp \
server/input_stream.hpp \
server/proxy.hpp \
server/metrics.hpp \
server/simple_wml.hpp \
editor/editor_undo.hpp \
editor/map_manip.hpp \
editor/editor_layout.hpp \
editor/editor.hpp \
editor/editor_palettes.hpp \
editor/editor_dialogs.hpp \
about.hpp \
actions.hpp \
ai.hpp \
ai2.hpp \
ai_dfool.hpp \
ai_interface.hpp \
ai_python.hpp \
animated.hpp \
animated.i \
array.hpp \
astarnode.hpp \
attack_prediction.hpp \
builder.hpp \
cavegen.hpp \
clipboard.hpp \
color_range.hpp \
config.hpp \
config_adapter.hpp \
construct_dialog.hpp \
cursor.hpp \
dialogs.hpp \
display.hpp \
events.hpp \
file_chooser.hpp \
filesystem.hpp \
floating_textbox.hpp \
font.hpp \
formula_ai.hpp \
formula_callable_fwd.hpp \
formula_callable.hpp \
formula_function.hpp \
formula_fwd.hpp \
formula.hpp \
formula_tokenizer.hpp \
game_config.hpp \
game_display.hpp \
game_errors.hpp \
game_events.hpp \
game_preferences.hpp \
gamestatus.hpp \
generic_event.hpp \
gettext.hpp \
global.hpp \
gui/dialogs/addon_connect.hpp \
gui/widgets/button.hpp \
gui/widgets/canvas.hpp \
gui/widgets/control.hpp \
gui/widgets/event_handler.hpp \
gui/widgets/grid.hpp \
gui/widgets/label.hpp \
gui/widgets/settings.hpp \
gui/widgets/text_box.hpp \
gui/widgets/tooltip.hpp \
gui/widgets/helper.hpp \
gui/widgets/widget.hpp \
gui/widgets/window.hpp \
gui/widgets/window_builder.hpp \
halo.hpp \
help.hpp \
hotkeys.hpp \
image.hpp \
intro.hpp \
key.hpp \
language.hpp \
leader_list.hpp \
loadscreen.hpp \
log.hpp \
map.hpp \
map_create.hpp \
map_label.hpp \
mapgen.hpp \
mapgen_dialog.hpp \
marked-up_text.hpp \
menu_events.hpp \
minimap.hpp \
mouse_events.hpp \
multiplayer.hpp \
multiplayer_connect.hpp \
multiplayer_create.hpp \
multiplayer_lobby.hpp \
multiplayer_ui.hpp \
multiplayer_wait.hpp \
network.hpp \
network_worker.hpp \
pathfind.hpp \
pathutils.hpp \
play_controller.hpp \
playcampaign.hpp \
playmp_controller.hpp \
playsingle_controller.hpp \
playturn.hpp \
preferences.hpp \
preferences_display.hpp \
publish_campaign.hpp \
race.hpp \
random.hpp \
replay.hpp \
replay_controller.hpp \
reports.hpp \
scoped_resource.hpp \
sha1.hpp \
settings.hpp \
sdl_utils.hpp \
show_dialog.hpp \
sound.hpp \
soundsource.hpp \
statistics.hpp \
team.hpp \
terrain.hpp \
terrain_filter.hpp \
terrain_translation.hpp \
theme.hpp \
thread.hpp \
titlescreen.hpp \
tooltips.hpp \
tstring.hpp \
unit.hpp \
unit_abilities.hpp \
unit_animation.hpp \
unit_display.hpp \
unit_frame.hpp \
unit_map.hpp \
unit_types.hpp \
upload_log.hpp \
util.hpp \
variable.hpp \
video.hpp \
wml_separators.hpp \
wesconfig.h \
wml_exception.hpp
wesconfig.h
#############################################################################
# Headers