Skip to content

Commit

Permalink
podman and linux_zfs PMDAs: fix previous "help" file changes
Browse files Browse the repository at this point in the history
Knock-on from removing the root_<pmda> pmns files.
  • Loading branch information
kmcdonell committed Oct 18, 2023
1 parent 69e11b2 commit 963a698
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
10 changes: 3 additions & 7 deletions src/pmdas/linux_zfs/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ HFILES = zfs_utils.h zfs_pools.h zfs_zilstats.h zfs_zfetchstats.h zfs_xuiostats

SCRIPTS = Install Remove
VERSION_SCRIPT = exports
HELPTARGETS = help.dir help.pag
LDIRT = $(HELPTARGETS) domain.h $(VERSION_SCRIPT)
LDIRT = domain.h $(VERSION_SCRIPT)

LLDLIBS = $(PCP_PMDALIB)
LCFLAGS = $(INVISIBILITY)
Expand All @@ -44,12 +43,12 @@ default: build-me
include $(BUILDRULES)

ifeq "$(TARGET_OS)" "linux"
build-me: $(LIBTARGET) $(CMDTARGET) $(HELPTARGETS)
build-me: $(LIBTARGET) $(CMDTARGET)

install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR)
$(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help help.dir help.pag root pmns $(PMDAADMDIR)
$(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help root pmns $(PMDAADMDIR)
$(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
@$(INSTALL_MAN)
else
Expand All @@ -61,9 +60,6 @@ default_pcp : default

install_pcp : install

$(HELPTARGETS) : help
$(NEWHELP) -n root -v 2 -o help < help

$(VERSION_SCRIPT):
$(VERSION_SCRIPT_MAKERULE)

Expand Down
10 changes: 3 additions & 7 deletions src/pmdas/podman/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ LCFLAGS = -I$(TOPDIR)/src/libpcp_web/src -Ideps

SCRIPTS = Install Remove
VERSION_SCRIPT = exports
HELPTARGETS = help.dir help.pag
LDIRT = $(HELPTARGETS) domain.h $(VERSION_SCRIPT) $(JSONSL_XFILES)
LDIRT = domain.h $(VERSION_SCRIPT) $(JSONSL_XFILES)

MAN_SECTION = 1
MAN_PAGES = pmda$(IAM).$(MAN_SECTION)
Expand All @@ -49,12 +48,12 @@ default: build-me
include $(BUILDRULES)

ifeq "$(TARGET_OS)" "linux"
build-me: $(JSONSL_XFILES) $(LIBTARGET) $(CMDTARGET) $(HELPTARGETS)
build-me: $(JSONSL_XFILES) $(LIBTARGET) $(CMDTARGET)

install: default
$(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR)
$(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help help.dir help.pag root pmns $(PMDAADMDIR)
$(INSTALL) -m 644 -t $(PMDATMPDIR) domain.h help root pmns $(PMDAADMDIR)
$(INSTALL) -m 755 -t $(PMDATMPDIR) $(LIBTARGET) $(CMDTARGET) $(SCRIPTS) $(PMDAADMDIR)
@$(INSTALL_MAN)
else
Expand All @@ -70,9 +69,6 @@ default_pcp : default

install_pcp : install

$(HELPTARGETS) : help
$(NEWHELP) -n root -v 2 -o help < help

$(VERSION_SCRIPT):
$(VERSION_SCRIPT_MAKERULE)

Expand Down

0 comments on commit 963a698

Please sign in to comment.