Skip to content

Commit

Permalink
etc: relocate libpowerman.pc to etc
Browse files Browse the repository at this point in the history
Problem: libpowerman.pc is in the source directory but it
belongs in etc with other config files.

Move to etc.
  • Loading branch information
garlick committed Jan 25, 2024
1 parent 295c65f commit a151869
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ AC_CONFIG_FILES( \
Makefile \
examples/powerman_el72.spec \
src/Makefile \
src/powerman/libpowerman.pc \
src/liblsd/Makefile \
src/libcommon/Makefile \
src/powerman/Makefile \
Expand All @@ -128,6 +127,7 @@ AC_CONFIG_FILES( \
src/snmppower/Makefile \
src/plmpower/Makefile \
etc/Makefile \
etc/libpowerman.pc \
etc/powerman.service \
etc/tmpfiles.d/powerman.conf \
heartbeat/Makefile \
Expand Down
4 changes: 4 additions & 0 deletions etc/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ systemdtmpdir_ddir = ${prefix}/lib/tmpfiles.d
systemdtmpdir_d_DATA = tmpfiles.d/powerman.conf
endif

if WITH_PKG_CONFIG
pkgconfig_DATA = libpowerman.pc
endif

pkgsysconfdir = $(sysconfdir)/powerman

pkgsysconf_DATA = \
Expand Down
File renamed without changes.
4 changes: 0 additions & 4 deletions src/powerman/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,3 @@ CLEANFILES = \

libpowerman_la_SOURCES = \
libpowerman.c

if WITH_PKG_CONFIG
pkgconfig_DATA = libpowerman.pc
endif

0 comments on commit a151869

Please sign in to comment.