Skip to content

Commit

Permalink
Use install command to make directories
Browse files Browse the repository at this point in the history
  • Loading branch information
wins1ey committed Mar 26, 2024
1 parent 26900fa commit 627a3af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ last-gtk.h: $(SRC_DIR)/last-gtk.css
xxd --include $(SRC_DIR)/last-gtk.css > $(SRC_DIR)/last-gtk.h || (rm $(SRC_DIR)/last-gtk.h; false)

install:
cp $(TARGET) $(BIN_DIR)/$(BIN)
cp $(APP) $(APP_DIR)
for size in 16 22 24 32 36 48 64 72 96 128 256 512; do \
install -Dm755 $(TARGET) $(BIN_DIR)/$(BIN)
install -Dm644 $(APP) $(APP_DIR)/$(APP)
install -Dm644 size in 16 22 24 32 36 48 64 72 96 128 256 512; do \
convert $(ICON).svg -resize "$$size"x"$$size" \
$(ICON_DIR)/"$$size"x"$$size"/apps/$(ICON).png ; \
done
gtk-update-icon-cache -f -t $(ICON_DIR)
cp $(SRC_DIR)/$(SCHEMA) $(SCHEMAS_DIR)
install -Dm644 $(SRC_DIR)/$(SCHEMA) $(SCHEMAS_DIR)/$(SCHEMA)
glib-compile-schemas $(SCHEMAS_DIR)

uninstall:
Expand Down

0 comments on commit 627a3af

Please sign in to comment.