Cleaned up the Makefile

There were leftovers of the SVN days and of the times when
a .app could be generated
This commit is contained in:
Salvo 'LtWorf' Tomaselli 2015-09-29 12:45:58 +02:00
parent 74f3a67716
commit 7d0dee2b30

View File

@ -12,22 +12,11 @@ dist: clean
mkdir /tmp/relational/ mkdir /tmp/relational/
cp -R * /tmp/relational/ cp -R * /tmp/relational/
rm -rf /tmp/relational/windows rm -rf /tmp/relational/windows
rm -rf /tmp/relational/samples/.svn/
rm -rf /tmp/relational/setup/.svn/
rm -rf /tmp/relational/debscript/.svn/
rm -rf /tmp/relational/mac/.svn/
rm -rf /tmp/relational/relational/.svn/
rm -rf /tmp/relational/relational_gui/.svn/
rm -f /tmp/relational/relational_gui/survey.py rm -f /tmp/relational/relational_gui/survey.py
rm -f /tmp/relational/relational_gui/maingui.py rm -f /tmp/relational/relational_gui/maingui.py
rm -f /tmp/relational/relational_gui/rel_edit.py rm -f /tmp/relational/relational_gui/rel_edit.py
rm -f /tmp/relational/relational_gui/resources.py rm -f /tmp/relational/relational_gui/resources.py
rm -rf /tmp/relational/relational_pyside/.svn/
rm -rf /tmp/relational/mac
rm -rf /tmp/relational/debian/ rm -rf /tmp/relational/debian/
rm -rf /tmp/relational/relational_curses/.svn/
rm -rf /tmp/relational/relational_readline/.svn/
rm -rf /tmp/relational/test/.svn
#mv /tmp/relational /tmp/relational-`./relational_gui.py -v | grep Relational | cut -d" " -f2` #mv /tmp/relational /tmp/relational-`./relational_gui.py -v | grep Relational | cut -d" " -f2`
#(cd /tmp; tar -zcf relational.tar.gz relational-*/) #(cd /tmp; tar -zcf relational.tar.gz relational-*/)
@ -35,16 +24,13 @@ dist: clean
mv /tmp/relational.tar.gz ./relational_`./relational_gui.py -v | grep Relational | cut -d" " -f2`.orig.tar.gz mv /tmp/relational.tar.gz ./relational_`./relational_gui.py -v | grep Relational | cut -d" " -f2`.orig.tar.gz
clean: clean:
rm -rf `find -name "*~"` || echo ok rm -rf `find -name "*~"`
rm -rf `find -name "*pyc"` || echo ok rm -rf `find -name "*pyc"`
rm -rf `find -name "*pyo"` || echo ok rm -rf `find -name "*pyo"`
rm -rf Relational.app || echo ok rm -rf relational*.tar.gz
rm relational*.tar.gz || echo ok rm -rf data
rm -rf relational_mac rm -rf *tar.bz
rm -rf data || echo ok rm -rf *.deb
rm -rf *tar.bz || echo ok
rm -rf *.deb || echo ok
rm -rf relational_mac
debian: debian:
dpkg-buildpackage dpkg-buildpackage