This repository was archived by the owner on Aug 10, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change
1
+ PREFIX ?= /usr/share
2
+
1
3
all :
2
4
3
5
install :
4
- mkdir -p $(DESTDIR ) /usr/share/libreoffice/share/config
5
- cp --no-preserve=mode,ownership -r \
6
- images_papirus.zip \
7
- images_epapirus.zip \
8
- images_papirus_dark.zip \
9
- $(DESTDIR ) /usr/share/libreoffice/share/config
6
+ install -dpm 755 $(DESTDIR )$(PREFIX ) /libreoffice/share/config
7
+ install -Dpm 644 images_papirus.zip $(DESTDIR )$(PREFIX ) /libreoffice/share/config/images_papirus.zip
8
+ install -Dpm 644 images_epapirus.zip $(DESTDIR )$(PREFIX ) /libreoffice/share/config/images_epapirus.zip
9
+ install -Dpm 644 images_papirus_dark.zip $(DESTDIR )$(PREFIX ) /libreoffice/share/config/images_papirus_dark.zip
10
10
11
11
uninstall :
12
- -rm -f $(DESTDIR ) /usr/share /libreoffice/share/config/images_papirus.zip
13
- -rm -f $(DESTDIR ) /usr/share /libreoffice/share/config/images_epapirus.zip
14
- -rm -f $(DESTDIR ) /usr/share /libreoffice/share/config/images_papirus_dark.zip
12
+ -rm -f $(DESTDIR )$( PREFIX ) /libreoffice/share/config/images_papirus.zip
13
+ -rm -f $(DESTDIR )$( PREFIX ) /libreoffice/share/config/images_epapirus.zip
14
+ -rm -f $(DESTDIR )$( PREFIX ) /libreoffice/share/config/images_papirus_dark.zip
15
15
16
16
_get_version :
17
17
$(eval VERSION := $(shell git show -s --format=% cd --date=format:% Y% m% d HEAD) )
You can’t perform that action at this time.
0 commit comments