mirror of
https://github.com/EnumeratedDev/stormfetch.git
synced 2026-09-15 23:46:12 +00:00
23 lines
635 B
Makefile
Executable File
23 lines
635 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
clean:
|
|
-rm -r debian/stormfetch
|
|
-rm -r debian/stormfetch-monitor-detection
|
|
|
|
build:
|
|
# Build program
|
|
make PREFIX=/usr SYSCONFDIR=/etc
|
|
|
|
binary:
|
|
# Create directories
|
|
mkdir -p debian/stormfetch
|
|
mkdir -p debian/stormfetch-monitor-detection
|
|
# Install program
|
|
make DESTDIR=debian/stormfetch PREFIX=/usr SYSCONFDIR=/etc install-stormfetch
|
|
make DESTDIR=debian/stormfetch PREFIX=/usr SYSCONFDIR=/etc install-config
|
|
# Install monitor detection program
|
|
make DESTDIR=debian/stormfetch-monitor-detection PREFIX=/usr SYSCONFDIR=/etc install-stormfetch-monitor-detection
|
|
# Finalize packages
|
|
dh_gencontrol
|
|
dh_builddeb
|