X-Git-Url: http://git.maemo.org/git/?p=theonering;a=blobdiff_plain;f=Makefile;h=fcb92a2c1ae0dab91f1cea3206b05634eab25298;hp=2944e9c6bc2736e6d6c0bef580befe3ff6a05711;hb=cf6bbc96c0e4b3bb240c61df09e0e71afdd602a8;hpb=b80c4af11e9aef73aebee22e5b5dad367dacfa9a diff --git a/Makefile b/Makefile index 2944e9c..fcb92a2 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PROJECT_NAME=theonering SOURCE_PATH=src SOURCE=$(shell find $(SOURCE_PATH) -iname "*.py") -PROGRAM=$(SOURCE_PATH)/$(PROJECT_NAME).py +PROGRAM=$(SOURCE_PATH)/telepathy-$(PROJECT_NAME) DATA_TYPES=*.ini *.map *.glade *.png DATA=$(foreach type, $(DATA_TYPES), $(shell find $(SOURCE_PATH) -iname "$(type)")) OBJ=$(SOURCE:.py=.pyc) @@ -42,18 +42,17 @@ package: $(OBJ) mkdir -p $(BUILD_PATH)/generic cp $(SOURCE_PATH)/constants.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, $(DATA), cp $(file) $(BUILD_PATH)/generic/$(subst /,!,$(file)) ; ) + $(foreach file, $(SOURCE), cp $(file) $(BUILD_PATH)/generic/$(subst /,!,$(file)) ; ) + cp $(SOURCE_PATH)/telepathy-theonering $(BUILD_PATH)/generic/ cp support/$(PROJECT_NAME).manager $(BUILD_PATH)/generic + cp support/$(PROJECT_NAME).profile.* $(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 mkdir -p $(BUILD_PATH)/diablo cp -R $(BUILD_PATH)/generic/* $(BUILD_PATH)/diablo cd $(BUILD_PATH)/diablo ; python builddeb.py diablo @@ -67,11 +66,10 @@ package: $(OBJ) 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 - cp $(BUILD_PATH)/debian/*.deb www/$(PROJECT_NAME).deb +upload: + dput fremantle-extras-builder $(BUILD_PATH)/fremantle/telepathy-$(PROJECT_NAME)*.changes + dput diablo-extras-builder $(BUILD_PATH)/diablo/telepathy-$(PROJECT_NAME)*.changes + cp $(BUILD_PATH)/debian/*.deb www/telepathy-$(PROJECT_NAME).deb lint: $(OBJ) $(foreach file, $(SOURCE), $(LINT) $(file) ; )