aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/xfce4-panel-profiles/files/patch-Makefile.in.in
blob: 84c02da3912d0f78ef269a44bc0d0b14962aa175 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Makefile.in.in.orig	2021-02-21 22:44:32 UTC
+++ Makefile.in.in
@@ -72,9 +72,6 @@ install: all xfce4-panel-profiles.1
 	install -d $(DESTDIR)/$(PREFIX)/share/metainfo
 	install data/metainfo/*.xml $(DESTDIR)/$(PREFIX)/share/metainfo
 
-	cp -rf locale $(DESTDIR)/$(PREFIX)/share
-	ln -sf $(PREFIX)/share/locale $(DESTDIR)/$(PREFIX)/share/$(APPNAME)/locale
-
 	install -d $(DESTDIR)/$(MANDIR)/man1
 	install xfce4-panel-profiles.1 $(DESTDIR)/$(MANDIR)/man1
 
@@ -86,6 +83,9 @@ install: all xfce4-panel-profiles.1
 	install data/icons/48x48/org.xfce.PanelProfiles.png $(DESTDIR)/$(PREFIX)/share/icons/hicolor/48x48/apps
 	install data/icons/16x16/org.xfce.PanelProfiles.png $(DESTDIR)/$(PREFIX)/share/icons/hicolor/16x16/apps
 	install data/icons/scalable/org.xfce.PanelProfiles.svg $(DESTDIR)/$(PREFIX)/share/icons/hicolor/scalable/apps
+
+install-locale: install
+	cp -rf locale $(DESTDIR)/$(PREFIX)/share
 
 uninstall:
 	rm -f $(DESTDIR)/$(PREFIX)/share/applications/org.xfce.PanelProfiles.desktop