From adaa86a8462c092864eb3d1cf27eb5020e054cd3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 28 Sep 2007 18:33:23 +0000 Subject: [PATCH] add uninstall target (does NOT remove translations) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2499 d708f5d6-7413-0410-9779-e7cbd77b26cf --- SConstruct | 5 +++++ svn_revision.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 857e640dd6..159c064ac2 100644 --- a/SConstruct +++ b/SConstruct @@ -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) diff --git a/svn_revision.h b/svn_revision.h index 56687c29ae..ffbb0e94bd 100644 --- a/svn_revision.h +++ b/svn_revision.h @@ -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