summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-09-28 18:33:23 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-09-28 18:33:23 +0000
commitadaa86a8462c092864eb3d1cf27eb5020e054cd3 (patch)
treeef579ea1faeb7b52b2aea56406a687b1152fe770
parent2859868109a8060016c077769df2182cbd15220d (diff)
add uninstall target (does NOT remove translations)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2499 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--SConstruct5
-rw-r--r--svn_revision.h2
2 files changed, 6 insertions, 1 deletions
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