add uninstall target (does NOT remove translations)

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2499 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-09-28 18:33:23 +00:00
parent 2859868109
commit adaa86a846
2 changed files with 6 additions and 1 deletions

View file

@ -1144,9 +1144,14 @@ if os.path.exists('.svn'):
# specbuild = env.SubstInFile ('ardour.spec','ardour.spec.in', SUBST_DICT = subst_dict)
the_revision = env.Command ('frobnicatory_decoy', [], create_stored_revision)
remove_ardour = env.Command ('frobnicatory_decoy2', [],
[ Delete ('$PREFIX/etc/ardour2'),
Delete ('$PREFIX/lib/ardour2'),
Delete ('$PREFIX/bin/ardour2')])
env.Alias('revision', the_revision)
env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour2'), 'ardour_system.rc'))
env.Alias('uninstall', remove_ardour)
Default (sysrcbuild)

View file

@ -1,4 +1,4 @@
#ifndef __ardour_svn_revision_h__
#define __ardour_svn_revision_h__
static const char* ardour_svn_revision = "2494";
static const char* ardour_svn_revision = "2496";
#endif