AC_SUBST([libdirname])
# The original default values of {bin,sbin,lib}dir
-usrbinexecdir='${exec_prefix}/bin'
-AC_SUBST([usrbinexecdir])
+usrbin_execdir='${_exec_prefix}/bin'
+AC_SUBST([usrbin_execdir])
-usrsbinexecdir='${exec_prefix}/sbin'
-AC_SUBST([usrsbinexecdir])
+usrsbin_execdir='${_exec_prefix}/sbin'
+AC_SUBST([usrsbin_execdir])
-usrlibexecdir='${exec_prefix}/'$libdirname
-AC_SUBST([usrlibexecdir])
+usrlib_execdir='${_exec_prefix}/'$libdirname
+AC_SUBST([usrlib_execdir])
AC_PROG_CC_STDC
mkswap_LDADD =
mkswap_CFLAGS =
-usrbinexec_PROGRAMS = isosize
-usrsbinexec_PROGRAMS =
+usrbin_exec_PROGRAMS = isosize
+usrsbin_exec_PROGRAMS =
if LINUX
dist_man_MANS += fdformat.8 blockdev.8
sbin_PROGRAMS += blockdev
-usrsbinexec_PROGRAMS += fdformat
+usrsbin_exec_PROGRAMS += fdformat
blockdev_SOURCES = blockdev.c $(utils_common)
endif
include $(top_srcdir)/config/include-Makefile.am
-usrbinexec_PROGRAMS = getopt
+usrbin_exec_PROGRAMS = getopt
dist_man_MANS = getopt.1
exampledir = $(datadir)/getopt/
include $(top_srcdir)/config/include-Makefile.am
bin_PROGRAMS =
-usrbinexec_PROGRAMS =
+usrbin_exec_PROGRAMS =
sbin_PROGRAMS =
-usrsbinexec_PROGRAMS =
+usrsbin_exec_PROGRAMS =
dist_man_MANS =
EXTRA_DIST = README.getty README.modems-with-agetty README.poeigl
endif
if BUILD_LAST
-usrbinexec_PROGRAMS += last
+usrbin_exec_PROGRAMS += last
dist_man_MANS += last.1
endif
if BUILD_LOGIN_UTILS
bin_PROGRAMS += login
-usrbinexec_PROGRAMS += chfn chsh newgrp
-usrsbinexec_PROGRAMS += vipw
+usrbin_exec_PROGRAMS += chfn chsh newgrp
+usrsbin_exec_PROGRAMS += vipw
dist_man_MANS += chfn.1 chsh.1 login.1 newgrp.1 vipw.8 vigr.8
chfn_SOURCES = chfn.c $(chfn_chsh_common)
install-exec-hook::
- cd $(DESTDIR)$(usrsbinexecdir) && ln -sf vipw vigr
+ cd $(DESTDIR)$(usrsbin_execdir) && ln -sf vipw vigr
endif
if BUILD_MESG
-usrbinexec_PROGRAMS += mesg
+usrbin_exec_PROGRAMS += mesg
dist_man_MANS += mesg.1
endif
if BUILD_WALL
-usrbinexec_PROGRAMS += wall
+usrbin_exec_PROGRAMS += wall
wall_SOURCES = wall.c ttymsg.c ttymsg.h
dist_man_MANS += wall.1
if USE_TTY_GROUP
if MAKEINSTALL_DO_CHOWN
install-exec-hook::
- chgrp tty $(DESTDIR)$(usrbinexecdir)/wall
- chmod g+s $(DESTDIR)$(usrbinexecdir)/wall
+ chgrp tty $(DESTDIR)$(usrbin_execdir)/wall
+ chmod g+s $(DESTDIR)$(usrbin_execdir)/wall
endif
endif
endif
bin_PROGRAMS =
sbin_PROGRAMS =
-usrsbinexec_PROGRAMS =
+usrsbin_exec_PROGRAMS =
-usrbinexec_PROGRAMS = cal ddate logger look mcookie \
+usrbin_exec_PROGRAMS = cal ddate logger look mcookie \
namei script whereis scriptreplay
EXTRA_DIST += README.cal README.ddate README.namei README.namei2
mcookie_SOURCES = mcookie.c ../lib/md5.c
-usrbinexec_SCRIPTS = chkdupexe
+usrbin_exec_SCRIPTS = chkdupexe
CLEANFILES = chkdupexe
namei.1 script.1 whereis.1 scriptreplay.1
if BUILD_LIBUUID
-usrbinexec_PROGRAMS += uuidgen
+usrbin_exec_PROGRAMS += uuidgen
dist_man_MANS += uuidgen.1
uuidgen_LDADD = $(ul_libuuid_la)
uuidgen_CFLAGS = -I$(ul_libuuid_srcdir)
if BUILD_UUIDD
-usrsbinexec_PROGRAMS += uuidd
+usrsbin_exec_PROGRAMS += uuidd
dist_man_MANS += uuidd.8
uuidd_LDADD = $(ul_libuuid_la)
uuidd_CFLAGS = -I$(ul_libuuid_srcdir)
if HAVE_NCURSES
if LINUX
-usrbinexec_PROGRAMS += setterm
+usrbin_exec_PROGRAMS += setterm
dist_man_MANS += setterm.1
endif
if HAVE_TINFO
endif
if BUILD_RENAME
-usrbinexec_PROGRAMS += rename
+usrbin_exec_PROGRAMS += rename
dist_man_MANS += rename.1
endif
if BUILD_RESET
-dist_usrbinexec_SCRIPTS = reset
+dist_usrbin_exec_SCRIPTS = reset
dist_man_MANS += reset.1
endif
EXTRA_DIST += README.reset reset.033c
if BUILD_WRITE
-usrbinexec_PROGRAMS += write
+usrbin_exec_PROGRAMS += write
dist_man_MANS += write.1
write_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS)
write_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS)
if USE_TTY_GROUP
if MAKEINSTALL_DO_CHOWN
install-exec-hook::
- chgrp tty $(DESTDIR)$(usrbinexecdir)/write
- chmod g+s $(DESTDIR)$(usrbinexecdir)/write
+ chgrp tty $(DESTDIR)$(usrbin_execdir)/write
+ chmod g+s $(DESTDIR)$(usrbin_execdir)/write
endif
endif
endif
if BUILD_PARTX
-usrsbinexec_PROGRAMS = addpart delpart partx
+usrsbin_exec_PROGRAMS = addpart delpart partx
partx_SOURCES = bsd.c dos.c partx.c solaris.c unixware.c gpt.c crc32.c \
efi.h gpt.h crc32.h partx.h dos.h ../lib/blkdev.c
if BUILD_SCHEDUTILS
-usrbinexec_PROGRAMS = chrt
+usrbin_exec_PROGRAMS = chrt
dist_man_MANS = chrt.1
if HAVE_IOPRIO_GET
if HAVE_IOPRIO_SET
-usrbinexec_PROGRAMS += ionice
+usrbin_exec_PROGRAMS += ionice
dist_man_MANS += ionice.1
endif
endif
if HAVE_SCHED_GETAFFINITY
-usrbinexec_PROGRAMS += taskset
+usrbin_exec_PROGRAMS += taskset
dist_man_MANS += taskset.1
endif
SUBDIRS = src
# pkg-config stuff
-pkgconfigdir = $(usrlibexecdir)/pkgconfig
+pkgconfigdir = $(usrlib_execdir)/pkgconfig
pkgconfig_DATA = blkid.pc
dist_man_MANS = libblkid.3
prefix=@prefix@
exec_prefix=@exec_prefix@
-libdir=@usrlibexecdir@
+libdir=@usrlib_execdir@
includedir=@includedir@
Name: blkid
blkidincdir = $(includedir)/blkid
blkidinc_HEADERS = blkid.h
-usrlibexec_LTLIBRARIES = libblkid.la
+usrlib_exec_LTLIBRARIES = libblkid.la
libblkid_la_SOURCES = cache.c dev.c devname.c devno.c getsize.c llseek.c \
probe.c read.c resolve.c save.c tag.c version.c verify.c \
encode.c blkid.h list.h blkidP.h probers/probers.h \
$(COMPILE) -DTEST_PROGRAM $< .libs/libblkid.a -o $@ $(common_ldadd)
-# move lib from $(usrlibexecdir) to $(libdir) if needed
+# move lib from $(usrlib_execdir) to $(libdir) if needed
install-exec-hook:
- if test "$(usrlibexecdir)" != "$(libdir)"; then \
+ if test "$(usrlib_execdir)" != "$(libdir)"; then \
mkdir -p $(DESTDIR)$(libdir); \
- mv $(DESTDIR)$(usrlibexecdir)/libblkid.so.* $(DESTDIR)$(libdir); \
- so_img_name=$$(readlink $(DESTDIR)$(usrlibexecdir)/libblkid.so); \
- so_img_rel_target=$$(echo $(usrlibexecdir) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \
- (cd $(DESTDIR)$(usrlibexecdir) && \
+ mv $(DESTDIR)$(usrlib_execdir)/libblkid.so.* $(DESTDIR)$(libdir); \
+ so_img_name=$$(readlink $(DESTDIR)$(usrlib_execdir)/libblkid.so); \
+ so_img_rel_target=$$(echo $(usrlib_execdir) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \
+ (cd $(DESTDIR)$(usrlib_execdir) && \
rm -f libblkid.so && \
$(LN_S) $$so_img_rel_target$(libdir)/$$so_img_name libblkid.so); \
fi
SUBDIRS = src man
# pkg-config stuff
-pkgconfigdir = $(usrlibexecdir)/pkgconfig
+pkgconfigdir = $(usrlib_execdir)/pkgconfig
pkgconfig_DATA = uuid.pc
EXTRA_DIST = uuid.pc uuid.pc.in
uuidincdir = $(includedir)/uuid
uuidinc_HEADERS = uuid.h
-usrlibexec_LTLIBRARIES = libuuid.la
+usrlib_exec_LTLIBRARIES = libuuid.la
libuuid_la_SOURCES = clear.c compare.c copy.c gen_uuid.c \
isnull.c pack.c parse.c unpack.c unparse.c uuidd.h \
uuidd.h uuidP.h uuid_time.c $(uuidinc_HEADERS)
$(COMPILE) -DTEST_PROGRAM $< .libs/libuuid.a -o $@
-# move lib from $(usrlibexecdir) to $(libdir) if needed
+# move lib from $(usrlib_execdir) to $(libdir) if needed
install-exec-hook:
- if test "$(usrlibexecdir)" != "$(libdir)"; then \
+ if test "$(usrlib_execdir)" != "$(libdir)"; then \
mkdir -p $(DESTDIR)$(libdir); \
- mv $(DESTDIR)$(usrlibexecdir)/libuuid.so.* $(DESTDIR)$(libdir); \
- so_img_name=$$(readlink $(DESTDIR)$(usrlibexecdir)/libuuid.so); \
- so_img_rel_target=$$(echo $(usrlibexecdir) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \
- (cd $(DESTDIR)$(usrlibexecdir) && \
+ mv $(DESTDIR)$(usrlib_execdir)/libuuid.so.* $(DESTDIR)$(libdir); \
+ so_img_name=$$(readlink $(DESTDIR)$(usrlib_execdir)/libuuid.so); \
+ so_img_rel_target=$$(echo $(usrlib_execdir) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \
+ (cd $(DESTDIR)$(usrlib_execdir) && \
rm -f libuuid.so && \
$(LN_S) $$so_img_rel_target$(libdir)/$$so_img_name libuuid.so); \
fi
prefix=@prefix@
exec_prefix=@exec_prefix@
-libdir=@usrlibexecdir@
+libdir=@usrlib_execdir@
includedir=@includedir@
Name: uuid
bin_PROGRAMS =
sbin_PROGRAMS =
-usrbinexec_PROGRAMS = flock ipcrm ipcs ipcmk renice setsid
-usrsbinexec_PROGRAMS = readprofile
+usrbin_exec_PROGRAMS = flock ipcrm ipcs ipcmk renice setsid
+usrsbin_exec_PROGRAMS = readprofile
dist_man_MANS = flock.1 ipcrm.1 ipcs.1 ipcmk.1 renice.1 setsid.1 \
readprofile.1
if LINUX
bin_PROGRAMS += dmesg
sbin_PROGRAMS += ctrlaltdel
-usrbinexec_PROGRAMS += cytune setarch lscpu
-usrsbinexec_PROGRAMS += ldattach tunelp rtcwake
+usrbin_exec_PROGRAMS += cytune setarch lscpu
+usrsbin_exec_PROGRAMS += ldattach tunelp rtcwake
dist_man_MANS += dmesg.1 ctrlaltdel.8 cytune.8 setarch.8 \
ldattach.8 lscpu.1 tunelp.8 rtcwake.8
RDEV_LINKS =
if BUILD_RDEV
-usrsbinexec_PROGRAMS += rdev
+usrsbin_exec_PROGRAMS += rdev
RDEV_LINKS += ramsize vidmode rootflags
dist_man_MANS += rdev.8
endif
install-exec-hook:
for I in $(RDEV_LINKS); do \
- cd $(DESTDIR)$(usrsbinexecdir) && ln -sf rdev $$I ; \
+ cd $(DESTDIR)$(usrsbin_execdir) && ln -sf rdev $$I ; \
done
for I in $(SETARCH_LINKS); do \
- cd $(DESTDIR)$(usrbinexecdir) && ln -sf setarch $$I ; \
+ cd $(DESTDIR)$(usrbin_execdir) && ln -sf setarch $$I ; \
done
uninstall-hook:
for I in $(RDEV_LINKS); do \
- rm -f $(DESTDIR)$(usrbinexecdir)/$$I ; \
+ rm -f $(DESTDIR)$(usrbin_execdir)/$$I ; \
done
for I in $(SETARCH_LINKS); do \
- rm -f $(DESTDIR)$(usrbinexecdir)/$$I ; \
+ rm -f $(DESTDIR)$(usrbin_execdir)/$$I ; \
done
EXTRA_DIST = README.clear README.col
-usrbinexec_PROGRAMS = col colcrt colrm column hexdump rev line tailf
+usrbin_exec_PROGRAMS = col colcrt colrm column hexdump rev line tailf
hexdump_SOURCES = hexdump.c conv.c display.c hexsyntax.c odsyntax.c parse.c \
hexdump.h
if HAVE_NCURSES
bin_PROGRAMS = more
-usrbinexec_PROGRAMS += ul pg
+usrbin_exec_PROGRAMS += ul pg
if HAVE_TINFO
more_LDADD = -ltinfo
pg_LDADD = -ltinfo @NCURSES_LIBS@