diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-07-20 17:34:36 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-07-20 17:34:36 +0200 |
| commit | 06abd3f6f20ca2008b71fa3967baeaf53f5775eb (patch) | |
| tree | ef7c5897a6dca85720de23da059b0892a69ab5aa /Makefile | |
| parent | 422f15c7db706299d85a2ecde4cd0f019f39dc59 (diff) | |
| download | kristall-06abd3f6f20ca2008b71fa3967baeaf53f5775eb.tar.gz | |
Reincludes makedir in makefile.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -6,11 +6,12 @@ INSTALL?=install # Run to install the actual binary INSTALL_PROGRAM=$(INSTALL) -Dm 755 # Run to install application data, with differing permissions -INSTALL_DATA=$(INSTALL) -Dm 644 +INSTALL_DATA=$(INSTALL) -m 644 # Directories into which to install the various files bindir=$(DESTDIR)$(PREFIX)/bin sharedir=$(DESTDIR)$(PREFIX)/share +MAKEDIR=makedir -p kristall: build/kristall cp build/kristall $@ @@ -20,7 +21,16 @@ build/kristall: src/* cd build && qmake ../src/kristall.pro && $(MAKE) $(MAKEFLAGS) install: kristall - # Install icons + # Prepare directories + $(MAKEDIR) $(sharedir)/icons/hicolor/scalable/apps/ + $(MAKEDIR) $(sharedir)/icons/hicolor/16x16/apps/ + $(MAKEDIR) $(sharedir)/icons/hicolor/32x32/apps/ + $(MAKEDIR) $(sharedir)/icons/hicolor/64x64/apps/ + $(MAKEDIR) $(sharedir)/icons/hicolor/128x128/apps/ + $(MAKEDIR) $(sharedir)/applications/ + $(MAKEDIR) $(bindir) + + # Install files $(INSTALL_DATA) src/icons/kristall.svg $(sharedir)/icons/hicolor/scalable/apps/net.random-projects.kristall.svg $(INSTALL_DATA) src/icons/kristall-16.png $(sharedir)/icons/hicolor/16x16/apps/net.random-projects.kristall.png $(INSTALL_DATA) src/icons/kristall-32.png $(sharedir)/icons/hicolor/32x32/apps/net.random-projects.kristall.png |
