Skip to content

Commit

Permalink
Merge pull request #1 from fgaz/create-install-directories
Browse files Browse the repository at this point in the history
build: create installation directories
  • Loading branch information
paoloose authored Mar 17, 2023
2 parents 79817db + b0d8065 commit 4d18136
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ urn-gtk.h: urn-gtk.css
xxd --include urn-gtk.css > urn-gtk.h || (rm urn-gtk.h; false)

install:
cp $(BIN) $(BIN_DIR)
cp $(APP) $(APP_DIR)
install -Dm755 $(BIN) $(BIN_DIR)/$(BIN)
install -Dm644 $(APP) $(APP_DIR)/$(APP)
for size in 16 22 24 32 36 48 64 72 96 128 256 512; do \
mkdir -p $(ICON_DIR)/"$$size"x"$$size"/apps ; \
convert static/$(ICON) -resize "$$size"x"$$size" \
$(ICON_DIR)/"$$size"x"$$size"/apps/$(ICON) ; \
done
gtk-update-icon-cache -f -t $(ICON_DIR)
cp urn-gtk.gschema.xml $(SCHEMAS_DIR)
install -Dm644 urn-gtk.gschema.xml $(SCHEMAS_DIR)/urn-gtk.gschema.xml
glib-compile-schemas $(SCHEMAS_DIR)
mkdir -p /usr/share/urn/themes
rsync -a --exclude=".*" themes /usr/share/urn
Expand Down

0 comments on commit 4d18136

Please sign in to comment.