summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-03-06 15:27:23 -0300
committerTomás Touceda <chiiph@leap.se>2013-03-06 15:27:23 -0300
commit5ff29dc57e2877a14e705d09b7042cddf4165d0a (patch)
tree18e5817a105f0aaa7a9a752f7b644e44a6c867bc /Makefile
parente23553caaf93a734578b02f9130dee38161d0e22 (diff)
Remove everything to start from scratch
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile69
1 files changed, 0 insertions, 69 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index cfcd47a1..00000000
--- a/Makefile
+++ /dev/null
@@ -1,69 +0,0 @@
-SHELL := /bin/zsh
-# ################################
-# Makefile for compiling resources
-# files.
-# TODO move to setup scripts
-# and implement it in python
-# http://die-offenbachs.homelinux.org:48888/hg/eric5/file/5072605ad4dd/compileUiFiles.py
-###### EDIT ######################
-
-#Directory with ui and resource files
-RESOURCE_DIR = data/resources
-
-#Directory for compiled resources
-COMPILED_DIR = src/leap/gui
-
-#Directory for (finished) translations
-TRANSLAT_DIR = data/translations
-
-#Project file, used for translations
-PROJFILE = data/leap_client.pro
-
-#UI files to compile
-# UI_FILES = foo.ui
-UI_FILES =
-#Qt resource files to compile
-#images.qrc
-RESOURCES = mainwindow.qrc locale.qrc
-
-#pyuic4 and pyrcc4 binaries
-PYUIC = pyuic4
-PYRCC = pyrcc4
-PYLUP = pylupdate4
-LRELE = lrelease
-
-
-#################################
-# DO NOT EDIT FOLLOWING
-
-COMPILED_UI = $(UI_FILES:%.ui=$(COMPILED_DIR)/ui_%.py)
-COMPILED_RESOURCES = $(RESOURCES:%.qrc=$(COMPILED_DIR)/%_rc.py)
-
-DEBVER = $(shell dpkg-parsechangelog | sed -ne 's,Version: ,,p')
-
-#
-
-all : resources ui
-
-resources : $(COMPILED_RESOURCES)
-
-ui : $(COMPILED_UI)
-
-translations:
- $(PYLUP) $(PROJFILE)
- $(LRELE) $(TRANSLAT_DIR)/*.ts
-
-$(COMPILED_DIR)/ui_%.py : $(RESOURCE_DIR)/%.ui
- $(PYUIC) $< -o $@
-
-$(COMPILED_DIR)/%_rc.py : $(RESOURCE_DIR)/%.qrc
- $(PYRCC) $< -o $@
-
-manpages:
- rst2man docs/man/leap.1.rst docs/man/leap.1
-
-apidocs:
- @sphinx-apidoc -o docs/api src/leap
-
-clean :
- $(RM) $(COMPILED_UI) $(COMPILED_RESOURCES) $(COMPILED_UI:.py=.pyc) $(COMPILED_RESOURCES:.py=.pyc)