servicedir = $(datadir)/dbus-1/services service_in_files = org.laptop.sugar.DataStore.service.in service_DATA = $(service_in_files:.service.in=.service) $(service_DATA): $(service_in_files) Makefile @sed -e "s|\@bindir\@|$(bindir)|" $< > $@ sugardir = $(pkgdatadir)/services/datastore sugar_PYTHON = \ __init__.py \ datastore.py \ dbus_helpers.py \ demodata.py bin_SCRIPTS = sugar-data-store DISTCLEANFILES = $(service_DATA) EXTRA_DIST = $(bin_SCRIPTS) org.laptop.sugar.DataStore.service.in