mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2025-02-20 10:32:45 +01:00

make patchimage check for system-installed tools, else use bundled ones make it possible to install patchimage (+ debian packaging scripts) version 3.0
15 lines
331 B
Makefile
15 lines
331 B
Makefile
all:
|
|
@echo "nothing to do"
|
|
|
|
install:
|
|
mkdir -p $(DESTDIR)/usr/bin/
|
|
mkdir -p $(DESTDIR)/usr/share/patchimage/
|
|
cp -rv patches tools script.d $(DESTDIR)/usr/share/patchimage/
|
|
install -m755 patchimage.sh $(DESTDIR)/usr/bin/patchimage
|
|
|
|
uninstall:
|
|
rm -rf $(DESTDIR)/usr/share/patchimage
|
|
rm -f $(DESTDIR)/usr/bin/patchimage
|
|
|
|
clean:
|