#
guidir = $(pkgdatadir)/gui
+gui = smyrna.glade attrs.txt arial.tga
+
if WITH_SMYRNA
-gui_DATA = smyrna.glade attrs.txt arial.tga
+gui_DATA = $(gui)
endif
-EXTRA_DIST = $(gui_DATA)
+EXTRA_DIST = $(gui)
#
iconsdir = $(pkgdatadir)/icons
-if WITH_SMYRNA
-icons_DATA = add_edge.png AntiselectRect.png AntiselectRectX.png cursor.png \
+icons = add_edge.png AntiselectRect.png AntiselectRectX.png cursor.png \
deletE_edge.png delete_node.png find_edge.png find_node.png \
fit_to_screen.png magifier_zoom_out.png magnifier.png \
magnifier_zoom_in.png move.png new_delete.png new_node.png \
newzoom.png pan.png select.png selectx.png zoom_in.png \
zoom_out.png zoom.png
+
+if WITH_SMYRNA
+icons_DATA = $(icons)
endif
-EXTRA_DIST = $(icons_DATA)
+EXTRA_DIST = $(icons)