search for vol_id and use retrocompatible options
[ext/instance-debootstrap.git] / Makefile.am
1 osname=$(subst ganeti-instance-,,$(PACKAGE))
2
3 osdir=$(OS_DIR)/$(osname)
4
5 os_SCRIPTS = create
6 dist_os_SCRIPTS = import export rename
7 dist_os_DATA = ganeti_api_version common.sh
8
9 dist_doc_DATA = COPYING NEWS README
10
11 EXTRA_DIST = create.in defaults
12
13 do_subst = sed \
14         -e 's,[@]sysconfdir[@],$(sysconfdir),g' \
15         -e 's,[@]localstatedir[@],$(localstatedir),g'
16
17 create: create.in Makefile
18         $(do_subst) < $< > $@
19         chmod +x $@
20
21 CLEANFILES = create