mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-11-28 03:54:22 +01:00
23cf0fc935
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:
|