X-Git-Url: http://git.maemo.org/git/?p=theonering;a=blobdiff_plain;f=Makefile;h=fcaa075f6883205eb7e52cf96e02de415851fcc4;hp=9721ca8a749ecee6a1d9da6f50aaf0b2d1ce1138;hb=5871efe867162458c5180deb6a8c812abdbcbcf9;hpb=869f01f31ca4fb49bac4c506953604dc65f04925 diff --git a/Makefile b/Makefile index 9721ca8..fcaa075 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PROJECT_NAME=dialcentral +PROJECT_NAME=theonering SOURCE_PATH=src SOURCE=$(shell find $(SOURCE_PATH) -iname "*.py") PROGRAM=$(SOURCE_PATH)/$(PROJECT_NAME).py @@ -39,19 +39,18 @@ test: $(OBJ) package: $(OBJ) rm -Rf $(BUILD_PATH) + mkdir -p $(BUILD_PATH)/generic cp $(SOURCE_PATH)/constants.py $(BUILD_PATH)/generic - cp $(SOURCE_PATH)/$(PROJECT_NAME).py $(BUILD_PATH)/generic $(foreach file, $(DATA), cp $(file) $(BUILD_PATH)/generic/$(subst /,-,$(file)) ; ) $(foreach file, $(SOURCE), cp $(file) $(BUILD_PATH)/generic/$(subst /,-,$(file)) ; ) - #$(foreach file, $(OBJ), cp $(file) $(BUILD_PATH)/generic/$(subst /,-,$(file)) ; ) - cp support/$(PROJECT_NAME).desktop $(BUILD_PATH)/generic - cp support/icons/hicolor/26x26/hildon/$(PROJECT_NAME).png $(BUILD_PATH)/generic/26x26-$(PROJECT_NAME).png - cp support/icons/hicolor/64x64/hildon/$(PROJECT_NAME).png $(BUILD_PATH)/generic/64x64-$(PROJECT_NAME).png - cp support/icons/hicolor/scalable/hildon/$(PROJECT_NAME).png $(BUILD_PATH)/generic/scale-$(PROJECT_NAME).png + cp support/$(PROJECT_NAME).manager $(BUILD_PATH)/generic + cp support/org.freedesktop.Telepathy.ConnectionManager.$(PROJECT_NAME).service $(BUILD_PATH)/generic + cp support/icons/*-$(PROJECT_NAME).png $(BUILD_PATH)/generic/ cp support/builddeb.py $(BUILD_PATH)/generic cp support/py2deb.py $(BUILD_PATH)/generic cp support/fake_py2deb.py $(BUILD_PATH)/generic + mkdir -p $(BUILD_PATH)/chinook cp -R $(BUILD_PATH)/generic/* $(BUILD_PATH)/chinook cd $(BUILD_PATH)/chinook ; python builddeb.py chinook @@ -64,6 +63,14 @@ package: $(OBJ) mkdir -p $(BUILD_PATH)/mer cp -R $(BUILD_PATH)/generic/* $(BUILD_PATH)/mer cd $(BUILD_PATH)/mer ; python builddeb.py mer + mkdir -p $(BUILD_PATH)/debian + cp -R $(BUILD_PATH)/generic/* $(BUILD_PATH)/debian + cd $(BUILD_PATH)/debian ; python builddeb.py debian + +upload: package + dput fremantle-extras-builder $(BUILD_PATH)/fremantle/$(PROJECT_NAME)*.changes + dput diablo-extras-builder $(BUILD_PATH)/diablo/$(PROJECT_NAME)*.changes + dput chinook-extras-builder $(BUILD_PATH)/chinook/$(PROJECT_NAME)*.changes lint: $(OBJ) $(foreach file, $(SOURCE), $(LINT) $(file) ; )