2015-02-19 06:59:41 +07:00
|
|
|
gui: pyqt
|
|
|
|
|
2013-06-30 04:45:35 +07:00
|
|
|
pyqt:
|
2015-02-19 06:59:41 +07:00
|
|
|
pyuic5 relational_gui/survey.ui > relational_gui/survey.py
|
|
|
|
pyuic5 relational_gui/maingui.ui > relational_gui/maingui.py
|
|
|
|
pyuic5 relational_gui/rel_edit.ui > relational_gui/rel_edit.py
|
2011-10-08 12:33:08 +07:00
|
|
|
|
2009-04-06 12:04:18 +07:00
|
|
|
uninstall:
|
|
|
|
rm -rf /opt/relational
|
|
|
|
rm -f /usr/local/bin/relational
|
2009-04-08 01:09:36 +07:00
|
|
|
rm -f /usr/share/applications/relational.desktop
|
2009-04-06 12:04:18 +07:00
|
|
|
|
|
|
|
install:
|
|
|
|
mkdir /opt/relational
|
|
|
|
cp -R relational relational_gui /opt/relational/
|
|
|
|
cp relational_gui.py /opt/relational
|
|
|
|
chmod -R 555 /opt/relational/
|
|
|
|
echo "#!/bin/bash" > /usr/local/bin/relational
|
|
|
|
echo "/opt/relational/relational_gui.py" >> /usr/local/bin/relational
|
|
|
|
chmod 555 /usr/local/bin/relational
|
2009-04-08 01:09:36 +07:00
|
|
|
cp relational.desktop /usr/share/applications/
|
|
|
|
chmod a+r /usr/share/applications/relational.desktop
|
2009-04-06 12:04:18 +07:00
|
|
|
|
2011-03-22 11:17:41 +07:00
|
|
|
dist: clean
|
2009-02-24 08:32:00 +07:00
|
|
|
rm -rf /tmp/relational/
|
2011-03-04 06:18:22 +07:00
|
|
|
rm -rf /tmp/relational-*
|
2009-02-24 08:32:00 +07:00
|
|
|
mkdir /tmp/relational/
|
|
|
|
cp -R * /tmp/relational/
|
2011-03-03 12:11:02 +07:00
|
|
|
rm -rf /tmp/relational/windows
|
|
|
|
rm -rf /tmp/relational/samples/.svn/
|
2011-03-22 11:17:41 +07:00
|
|
|
rm -rf /tmp/relational/setup/.svn/
|
2011-03-03 12:11:02 +07:00
|
|
|
rm -rf /tmp/relational/debscript/.svn/
|
|
|
|
rm -rf /tmp/relational/mac/.svn/
|
2015-02-19 06:59:41 +07:00
|
|
|
rm -rf /tmp/relational/relational/.svn/
|
2011-03-03 12:11:02 +07:00
|
|
|
rm -rf /tmp/relational/relational_gui/.svn/
|
2015-09-11 05:33:58 +07:00
|
|
|
rm -f /tmp/relational/relational_gui/survey.py
|
|
|
|
rm -f /tmp/relational/relational_gui/maingui.py
|
|
|
|
rm -f /tmp/relational/relational_gui/rel_edit.py
|
2011-10-13 15:15:38 +07:00
|
|
|
rm -rf /tmp/relational/relational_pyside/.svn/
|
2011-03-03 12:11:02 +07:00
|
|
|
rm -rf /tmp/relational/mac
|
|
|
|
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
|
2015-02-19 06:59:41 +07:00
|
|
|
|
2011-03-04 06:18:22 +07:00
|
|
|
#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/)
|
2011-10-13 15:15:38 +07:00
|
|
|
mv /tmp/relational.tar.gz ./relational_`./relational_gui.py -v | grep Relational | cut -d" " -f2`.orig.tar.gz
|
2009-02-24 08:32:00 +07:00
|
|
|
|
2008-09-01 02:52:32 +07:00
|
|
|
clean:
|
2013-12-28 03:53:47 +07:00
|
|
|
rm -rf `find -name "*~"` || echo ok
|
|
|
|
rm -rf `find -name "*pyc"` || echo ok
|
|
|
|
rm -rf `find -name "*pyo"` || echo ok
|
2008-09-01 02:52:32 +07:00
|
|
|
rm -rf Relational.app || echo ok
|
2008-11-15 09:51:04 +07:00
|
|
|
rm relational*.tar.gz || echo ok
|
2009-03-02 10:29:11 +07:00
|
|
|
rm -rf relational_mac
|
2008-11-15 09:33:02 +07:00
|
|
|
rm -rf data || echo ok
|
2009-02-24 08:32:00 +07:00
|
|
|
rm -rf *tar.bz || echo ok
|
2008-11-15 09:33:02 +07:00
|
|
|
rm -rf *.deb || echo ok
|
2009-03-08 03:31:39 +07:00
|
|
|
rm -rf relational_mac
|
2008-11-15 09:33:02 +07:00
|
|
|
|
2015-02-19 06:59:41 +07:00
|
|
|
debian:
|
2010-08-10 12:53:43 +07:00
|
|
|
dpkg-buildpackage
|