From 1421b3044eb78895a523343d83ddb31e770cacaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 22 Apr 2012 14:15:27 +0200 Subject: tools/extract-api.sh: search for latest elementary include dir --- tools/extract-api.sh | 175 ++++++++++++++++++++++++++------------------------- 1 file changed, 88 insertions(+), 87 deletions(-) diff --git a/tools/extract-api.sh b/tools/extract-api.sh index f7bf8ca..be9c011 100755 --- a/tools/extract-api.sh +++ b/tools/extract-api.sh @@ -23,6 +23,8 @@ else echo "new api will be stored in $NEXT" fi # +ELM_INCLUDE_DIR=$(find ${INCLUDE} -name elementary-* | sort | tail -n1) +# for header in \ "${INCLUDE}/eina-1/eina/eina_types.h" \ "${INCLUDE}/eina-1/eina/eina_xattr.h" \ @@ -42,93 +44,92 @@ for header in \ "${INCLUDE}/ecore-1/Ecore_Fb.h" \ "${INCLUDE}/ecore-1/Ecore_File.h" \ "${INCLUDE}/EMap.h" \ - "${INCLUDE}/elementary-0/Elementary.h" \ - "${INCLUDE}/elementary-0/elm_general.h" \ - "${INCLUDE}/elementary-0/elm_tooltip.h" \ - "${INCLUDE}/elementary-0/elm_object.h" \ - "${INCLUDE}/elementary-0/elm_object_item.h" \ - "${INCLUDE}/elementary-0/elc_ctxpopup.h" \ - "${INCLUDE}/elementary-0/elc_dayselector.h" \ - "${INCLUDE}/elementary-0/elc_fileselector_button.h" \ - "${INCLUDE}/elementary-0/elc_fileselector_entry.h" \ - "${INCLUDE}/elementary-0/elc_fileselector.h" \ - "${INCLUDE}/elementary-0/elc_hoversel.h" \ - "${INCLUDE}/elementary-0/elc_multibuttonentry.h" \ - "${INCLUDE}/elementary-0/elc_naviframe.h" \ - "${INCLUDE}/elementary-0/elc_popup.h" \ - "${INCLUDE}/elementary-0/elm_actionslider.h" \ - "${INCLUDE}/elementary-0/elm_app.h" \ - "${INCLUDE}/elementary-0/elm_authors.h" \ - "${INCLUDE}/elementary-0/elm_bg.h" \ - "${INCLUDE}/elementary-0/elm_box.h" \ - "${INCLUDE}/elementary-0/elm_bubble.h" \ - "${INCLUDE}/elementary-0/elm_button.h" \ - "${INCLUDE}/elementary-0/elm_cache.h" \ - "${INCLUDE}/elementary-0/elm_calendar.h" \ - "${INCLUDE}/elementary-0/elm_check.h" \ - "${INCLUDE}/elementary-0/elm_clock.h" \ - "${INCLUDE}/elementary-0/elm_cnp.h" \ - "${INCLUDE}/elementary-0/elm_colorselector.h" \ - "${INCLUDE}/elementary-0/elm_config.h" \ - "${INCLUDE}/elementary-0/elm_conform.h" \ - "${INCLUDE}/elementary-0/elm_cursor.h" \ - "${INCLUDE}/elementary-0/elm_datetime.h" \ - "${INCLUDE}/elementary-0/elm_debug.h" \ - "${INCLUDE}/elementary-0/elm_diskselector.h" \ - "${INCLUDE}/elementary-0/elm_entry.h" \ - "${INCLUDE}/elementary-0/elm_finger.h" \ - "${INCLUDE}/elementary-0/elm_flip.h" \ - "${INCLUDE}/elementary-0/elm_flipselector.h" \ - "${INCLUDE}/elementary-0/elm_focus.h" \ - "${INCLUDE}/elementary-0/elm_fonts.h" \ - "${INCLUDE}/elementary-0/elm_frame.h" \ - "${INCLUDE}/elementary-0/elm_gengrid.h" \ - "${INCLUDE}/elementary-0/elm_gen.h" \ - "${INCLUDE}/elementary-0/elm_genlist.h" \ - "${INCLUDE}/elementary-0/elm_gesture_layer.h" \ - "${INCLUDE}/elementary-0/elm_getting_started.h" \ - "${INCLUDE}/elementary-0/elm_glview.h" \ - "${INCLUDE}/elementary-0/elm_grid.h" \ - "${INCLUDE}/elementary-0/elm_hover.h" \ - "${INCLUDE}/elementary-0/elm_icon.h" \ - "${INCLUDE}/elementary-0/elm_image.h" \ - "${INCLUDE}/elementary-0/elm_index.h" \ - "${INCLUDE}/elementary-0/elm_intro.h" \ - "${INCLUDE}/elementary-0/elm_label.h" \ - "${INCLUDE}/elementary-0/elm_layout.h" \ - "${INCLUDE}/elementary-0/elm_list.h" \ - "${INCLUDE}/elementary-0/elm_mapbuf.h" \ - "${INCLUDE}/elementary-0/elm_map.h" \ - "${INCLUDE}/elementary-0/elm_menu.h" \ - "${INCLUDE}/elementary-0/elm_mirroring.h" \ - "${INCLUDE}/elementary-0/elm_need.h" \ - "${INCLUDE}/elementary-0/elm_notify.h" \ - "${INCLUDE}/elementary-0/elm_panel.h" \ - "${INCLUDE}/elementary-0/elm_panes.h" \ - "${INCLUDE}/elementary-0/elm_photocam.h" \ - "${INCLUDE}/elementary-0/elm_photo.h" \ - "${INCLUDE}/elementary-0/elm_plug.h" \ - "${INCLUDE}/elementary-0/elm_progressbar.h" \ - "${INCLUDE}/elementary-0/elm_radio.h" \ - "${INCLUDE}/elementary-0/elm_route.h" \ - "${INCLUDE}/elementary-0/elm_scale.h" \ - "${INCLUDE}/elementary-0/elm_scroller.h" \ - "${INCLUDE}/elementary-0/elm_scroll.h" \ - "${INCLUDE}/elementary-0/elm_segment_control.h" \ - "${INCLUDE}/elementary-0/elm_separator.h" \ - "${INCLUDE}/elementary-0/elm_slider.h" \ - "${INCLUDE}/elementary-0/elm_slideshow.h" \ - "${INCLUDE}/elementary-0/elm_spinner.h" \ - "${INCLUDE}/elementary-0/elm_store.h" \ - "${INCLUDE}/elementary-0/elm_table.h" \ - "${INCLUDE}/elementary-0/elm_theme.h" \ - "${INCLUDE}/elementary-0/elm_thumb.h" \ - "${INCLUDE}/elementary-0/elm_toolbar.h" \ - "${INCLUDE}/elementary-0/elm_transit.h" \ - "${INCLUDE}/elementary-0/elm_video.h" \ - "${INCLUDE}/elementary-0/elm_web.h" \ - "${INCLUDE}/elementary-0/elm_widget.h" \ - "${INCLUDE}/elementary-0/elm_win.h" \ + "${ELM_INCLUDE_DIR}/Elementary.h" \ + "${ELM_INCLUDE_DIR}/elm_general.h" \ + "${ELM_INCLUDE_DIR}/elm_tooltip.h" \ + "${ELM_INCLUDE_DIR}/elm_object.h" \ + "${ELM_INCLUDE_DIR}/elm_object_item.h" \ + "${ELM_INCLUDE_DIR}/elc_ctxpopup.h" \ + "${ELM_INCLUDE_DIR}/elc_dayselector.h" \ + "${ELM_INCLUDE_DIR}/elc_fileselector_button.h" \ + "${ELM_INCLUDE_DIR}/elc_fileselector_entry.h" \ + "${ELM_INCLUDE_DIR}/elc_fileselector.h" \ + "${ELM_INCLUDE_DIR}/elc_hoversel.h" \ + "${ELM_INCLUDE_DIR}/elc_multibuttonentry.h" \ + "${ELM_INCLUDE_DIR}/elc_naviframe.h" \ + "${ELM_INCLUDE_DIR}/elc_popup.h" \ + "${ELM_INCLUDE_DIR}/elm_actionslider.h" \ + "${ELM_INCLUDE_DIR}/elm_app.h" \ + "${ELM_INCLUDE_DIR}/elm_authors.h" \ + "${ELM_INCLUDE_DIR}/elm_bg.h" \ + "${ELM_INCLUDE_DIR}/elm_box.h" \ + "${ELM_INCLUDE_DIR}/elm_bubble.h" \ + "${ELM_INCLUDE_DIR}/elm_button.h" \ + "${ELM_INCLUDE_DIR}/elm_cache.h" \ + "${ELM_INCLUDE_DIR}/elm_calendar.h" \ + "${ELM_INCLUDE_DIR}/elm_check.h" \ + "${ELM_INCLUDE_DIR}/elm_clock.h" \ + "${ELM_INCLUDE_DIR}/elm_cnp.h" \ + "${ELM_INCLUDE_DIR}/elm_colorselector.h" \ + "${ELM_INCLUDE_DIR}/elm_config.h" \ + "${ELM_INCLUDE_DIR}/elm_conform.h" \ + "${ELM_INCLUDE_DIR}/elm_cursor.h" \ + "${ELM_INCLUDE_DIR}/elm_datetime.h" \ + "${ELM_INCLUDE_DIR}/elm_debug.h" \ + "${ELM_INCLUDE_DIR}/elm_diskselector.h" \ + "${ELM_INCLUDE_DIR}/elm_entry.h" \ + "${ELM_INCLUDE_DIR}/elm_finger.h" \ + "${ELM_INCLUDE_DIR}/elm_flip.h" \ + "${ELM_INCLUDE_DIR}/elm_flipselector.h" \ + "${ELM_INCLUDE_DIR}/elm_focus.h" \ + "${ELM_INCLUDE_DIR}/elm_frame.h" \ + "${ELM_INCLUDE_DIR}/elm_gengrid.h" \ + "${ELM_INCLUDE_DIR}/elm_gen.h" \ + "${ELM_INCLUDE_DIR}/elm_genlist.h" \ + "${ELM_INCLUDE_DIR}/elm_gesture_layer.h" \ + "${ELM_INCLUDE_DIR}/elm_getting_started.h" \ + "${ELM_INCLUDE_DIR}/elm_glview.h" \ + "${ELM_INCLUDE_DIR}/elm_grid.h" \ + "${ELM_INCLUDE_DIR}/elm_hover.h" \ + "${ELM_INCLUDE_DIR}/elm_icon.h" \ + "${ELM_INCLUDE_DIR}/elm_image.h" \ + "${ELM_INCLUDE_DIR}/elm_index.h" \ + "${ELM_INCLUDE_DIR}/elm_intro.h" \ + "${ELM_INCLUDE_DIR}/elm_label.h" \ + "${ELM_INCLUDE_DIR}/elm_layout.h" \ + "${ELM_INCLUDE_DIR}/elm_list.h" \ + "${ELM_INCLUDE_DIR}/elm_mapbuf.h" \ + "${ELM_INCLUDE_DIR}/elm_map.h" \ + "${ELM_INCLUDE_DIR}/elm_menu.h" \ + "${ELM_INCLUDE_DIR}/elm_mirroring.h" \ + "${ELM_INCLUDE_DIR}/elm_need.h" \ + "${ELM_INCLUDE_DIR}/elm_notify.h" \ + "${ELM_INCLUDE_DIR}/elm_panel.h" \ + "${ELM_INCLUDE_DIR}/elm_panes.h" \ + "${ELM_INCLUDE_DIR}/elm_photocam.h" \ + "${ELM_INCLUDE_DIR}/elm_photo.h" \ + "${ELM_INCLUDE_DIR}/elm_plug.h" \ + "${ELM_INCLUDE_DIR}/elm_progressbar.h" \ + "${ELM_INCLUDE_DIR}/elm_radio.h" \ + "${ELM_INCLUDE_DIR}/elm_route.h" \ + "${ELM_INCLUDE_DIR}/elm_scale.h" \ + "${ELM_INCLUDE_DIR}/elm_scroller.h" \ + "${ELM_INCLUDE_DIR}/elm_scroll.h" \ + "${ELM_INCLUDE_DIR}/elm_segment_control.h" \ + "${ELM_INCLUDE_DIR}/elm_separator.h" \ + "${ELM_INCLUDE_DIR}/elm_slider.h" \ + "${ELM_INCLUDE_DIR}/elm_slideshow.h" \ + "${ELM_INCLUDE_DIR}/elm_spinner.h" \ + "${ELM_INCLUDE_DIR}/elm_store.h" \ + "${ELM_INCLUDE_DIR}/elm_table.h" \ + "${ELM_INCLUDE_DIR}/elm_theme.h" \ + "${ELM_INCLUDE_DIR}/elm_thumb.h" \ + "${ELM_INCLUDE_DIR}/elm_toolbar.h" \ + "${ELM_INCLUDE_DIR}/elm_transit.h" \ + "${ELM_INCLUDE_DIR}/elm_video.h" \ + "${ELM_INCLUDE_DIR}/elm_web.h" \ + "${ELM_INCLUDE_DIR}/elm_widget.h" \ + "${ELM_INCLUDE_DIR}/elm_win.h" \ ; do # if [ ! -e "$header" ]; then -- cgit v1.1-2-g2b99