mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
move documents
This commit is contained in:
parent
8cd0fe4883
commit
68a08e79e6
9 changed files with 0 additions and 0 deletions
64
documents/Makefile
Normal file
64
documents/Makefile
Normal file
|
@ -0,0 +1,64 @@
|
|||
include pandoc-man.mk
|
||||
|
||||
ifeq ($(PREFIX),)
|
||||
PREFIX := /usr
|
||||
endif
|
||||
|
||||
datarootdir := $(PREFIX)/share
|
||||
datadir := $(datarootdir)
|
||||
mandir := $(datarootdir)/man
|
||||
bindir := $(PREFIX)/bin
|
||||
configdir := $(datarootdir)/distrohopper
|
||||
ICONS_DIR := config/icons
|
||||
|
||||
all: distrohopper.1 quickget.1 quickemu.1 quickemu_conf.1
|
||||
|
||||
clean:
|
||||
rm *.1
|
||||
|
||||
install_docs: all
|
||||
install -d $(DESTDIR)$(mandir)/man1
|
||||
install -m 644 distrohopper.1 $(DESTDIR)$(mandir)/man1
|
||||
install -m 644 quickget.1 $(DESTDIR)$(mandir)/man1
|
||||
install -m 644 quickemu.1 $(DESTDIR)$(mandir)/man1
|
||||
install -m 644 quickemu_conf.1 $(DESTDIR)$(mandir)/man1
|
||||
|
||||
# install -m 644 quickgui.1 $(DESTDIR)$(mandir)/man1
|
||||
|
||||
install_bins:
|
||||
install -d $(DESTDIR)$(bindir)
|
||||
install -m 755 ../dh $(DESTDIR)$(bindir)
|
||||
install -m 755 ../quickget $(DESTDIR)$(bindir)
|
||||
install -m 755 ../quickemu $(DESTDIR)$(bindir)
|
||||
install -m 755 ../macrecovery $(DESTDIR)$(bindir)
|
||||
|
||||
install_config:
|
||||
|
||||
|
||||
install_icons:
|
||||
install -d $(DESTDIR)$(datadir)/icons/distrohopper
|
||||
install -m 644 $(ICONS_DIR)/*.svg $(DESTDIR)$(datadir)/icons/distrohopper
|
||||
install -m 644 $(ICONS_DIR)/*.png $(DESTDIR)$(datadir)/icons/distrohopper
|
||||
|
||||
install: install_bins install_docs install_icons
|
||||
|
||||
uninstall_icons:
|
||||
rm -f $(DESTDIR)$(datadir)/icons/distrohopper/*.svg
|
||||
rm -f $(DESTDIR)$(datadir)/icons/distrohopper/*.png
|
||||
|
||||
uninstall_docs:
|
||||
rm -f $(DESTDIR)$(mandir)/man1/distrohopper.1
|
||||
rm -f $(DESTDIR)$(mandir)/man1/quickget.1
|
||||
rm -f $(DESTDIR)$(mandir)/man1/quickemu.1
|
||||
rm -f $(DESTDIR)$(mandir)/man1/quickemu_conf.1
|
||||
|
||||
uninstall_bins:
|
||||
rm -f $(DESTDIR)$(bindir)/dh
|
||||
rm -f $(DESTDIR)$(bindir)/quickget
|
||||
rm -f $(DESTDIR)$(bindir)/quickemu
|
||||
rm -f $(DESTDIR)$(bindir)/macrecovery
|
||||
|
||||
uninstall: uninstall_icons uninstall_docs uninstall_bins
|
||||
|
||||
|
||||
.PHONY: all
|
Loading…
Add table
Add a link
Reference in a new issue