From 0c80819724e50cc01c9b7f03ef186e8cc0ce2fc8 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 28 Apr 2013 09:52:55 +0100 Subject: Remove formatted manual page --- setup.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/setup.py b/setup.py index 0a46bfc..1261ab6 100644 --- a/setup.py +++ b/setup.py @@ -17,6 +17,8 @@ from distutils.core import setup, Extension from distutils.command.build import build +from distutils.command.clean import clean +import os import cliapp @@ -32,6 +34,16 @@ class Build(build): stdout=f) +class Clean(clean): + + def run(self): + clean.run(self) + filenames = ['desktop-cronish.1'] + for filename in filenames: + if os.path.exists(filename): + os.remove(filename) + + setup(name='desktop-cronish', version='0.0', description='git://git.gitano.org.uk/personal/liw/desktop-cronish', @@ -41,5 +53,6 @@ setup(name='desktop-cronish', scripts=['desktop-cronish'], cmdclass={ 'build': Build, + 'clean': Clean, }, ) -- cgit v1.2.1