Fix install issues caused by LICENSE file
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
ede1f74566
commit
85be425479
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
*.zip
|
*.zip
|
||||||
|
readability/LICENSE
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
2.0.2
|
||||||
|
- Fix install issues caused by LICENSE file
|
||||||
|
|
||||||
2.0.1
|
2.0.1
|
||||||
- Fix version number
|
- Fix version number
|
||||||
- Fix toolbar button title text
|
- Fix toolbar button title text
|
||||||
|
8
Makefile
8
Makefile
@ -3,7 +3,7 @@ VERSION = 2.0.1
|
|||||||
|
|
||||||
FILES = $(PROJECT)/main.qml
|
FILES = $(PROJECT)/main.qml
|
||||||
FILES += $(PROJECT)/metadata.desktop
|
FILES += $(PROJECT)/metadata.desktop
|
||||||
FILES += LICENSE
|
FILES += $(PROJECT)/LICENSE
|
||||||
FILES += $(PROJECT)/data/Call.js
|
FILES += $(PROJECT)/data/Call.js
|
||||||
FILES += $(PROJECT)/data/Readability.js
|
FILES += $(PROJECT)/data/Readability.js
|
||||||
FILES += $(PROJECT)/data/Toolbar.js
|
FILES += $(PROJECT)/data/Toolbar.js
|
||||||
@ -22,14 +22,18 @@ IMAGES += $(PROJECT)/images/RM-Type-Controls-Arrow.svg
|
|||||||
package: build
|
package: build
|
||||||
zip -X $(PROJECT)_v$(VERSION).zip $(FILES)
|
zip -X $(PROJECT)_v$(VERSION).zip $(FILES)
|
||||||
|
|
||||||
|
copy_license:
|
||||||
|
@cp "LICENSE" "$(PROJECT)/LICENSE"
|
||||||
|
|
||||||
copy_styles:
|
copy_styles:
|
||||||
@cp "$(PROJECT)/data/style.orig.css" "$(PROJECT)/data/style.css"
|
@cp "$(PROJECT)/data/style.orig.css" "$(PROJECT)/data/style.css"
|
||||||
|
|
||||||
build: copy_styles
|
build: copy_styles copy_license
|
||||||
$(foreach IMG,$(IMAGES), \
|
$(foreach IMG,$(IMAGES), \
|
||||||
$(shell sed -i "s|{$(shell basename "$(IMG)")}|data:$(shell mimetype -b "$(IMG)");base64,$(shell basenc --base64 --wrap=0 "$(IMG)")|g" "$(PROJECT)/data/style.css") \
|
$(shell sed -i "s|{$(shell basename "$(IMG)")}|data:$(shell mimetype -b "$(IMG)");base64,$(shell basenc --base64 --wrap=0 "$(IMG)")|g" "$(PROJECT)/data/style.css") \
|
||||||
)
|
)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
rm "$(PROJECT)/LICENSE"
|
||||||
rm "$(PROJECT)/data/style.css"
|
rm "$(PROJECT)/data/style.css"
|
||||||
rm "./$(PROJECT)_v$(VERSION).zip"
|
rm "./$(PROJECT)_v$(VERSION).zip"
|
||||||
|
Loading…
Reference in New Issue
Block a user