mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add man page for zpwr tool and its usage. Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Sumanth Korikkar <sumanthk@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
26 lines
586 B
Makefile
26 lines
586 B
Makefile
#
|
|
# Copyright IBM Corp. 2025
|
|
#
|
|
# s390-tools is free software; you can redistribute it and/or modify
|
|
# it under the terms of the MIT license. See LICENSE for details.
|
|
#
|
|
|
|
include ../common.mak
|
|
|
|
all: zpwr
|
|
|
|
OBJECTS = zpwr.o
|
|
|
|
zpwr: $(OBJECTS) $(rootdir)/libutil/libutil.a -lm
|
|
|
|
install: all
|
|
$(INSTALL) -d -m 755 $(DESTDIR)$(USRBINDIR)
|
|
$(INSTALL) -d -m 755 $(DESTDIR)$(MANDIR)/man1
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 zpwr $(DESTDIR)$(USRBINDIR)
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 man/zpwr.1 $(DESTDIR)$(MANDIR)/man1
|
|
|
|
clean:
|
|
rm -f *.o *~ zpwr core
|
|
|
|
.PHONY: all install clean
|