Skip to content

Commit

Permalink
Issue #86: info
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Detwiler <[email protected]>
  • Loading branch information
detwiler committed May 10, 2023
1 parent 3739eab commit ba0d7b6
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 6 deletions.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,8 @@ AC_CONFIG_FILES([Makefile
data/coreutils/bashrc.d/ls.sh
data/ctags/Makefile
data/ctags/bashrc.d/Makefile
data/info/Makefile
data/info/profile.d/Makefile
data/git/Makefile
data/git/bashrc.d/Makefile
data/git/profile.d/Makefile
Expand Down
1 change: 1 addition & 0 deletions data/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ SUBDIRS = autoconf \
bash \
coreutils \
go \
info \
man \
readline \
ssh \
Expand Down
1 change: 0 additions & 1 deletion data/bash/profile.d/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# .gitignore

# generated data files
info.sh
python.sh
zz-path.sh
5 changes: 1 addition & 4 deletions data/bash/profile.d/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ include $(top_srcdir)/rules.mk

# data/script variables
bash = bash.sh
info = info.sh
python = python.sh
zz_path = zz-path.sh

Expand All @@ -14,8 +13,7 @@ static_data = $(bash)
dist_profile_DATA = $(static_data)

# data/scripts generated by make (require explicit distribution of source file)
make_data = $(info) \
$(python) \
make_data = $(python) \
$(zz_path)

$(make_data): Makefile
Expand All @@ -34,6 +32,5 @@ CLEANFILES = $(make_output)

# sed command to build data/scripts
EDIT = -e 's:@bindir[@]:$(bindir):g' \
-e 's:@infodir[@]:$(infodir):g' \
-e 's:@prefix[@]:$(prefix):g' \
-e 's:@sbindir[@]:$(sbindir):g'
2 changes: 1 addition & 1 deletion data/coreutils/bashrc.d/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dist_bashrc_DATA = $(static_data)
# data/scripts generated by configure (source file automatically distributed)
conf_data = $(ls)

bashrc_DATA += $(conf_data)
bashrc_DATA = $(conf_data)

DISTCLEANFILES = $(conf_data)

Expand Down
3 changes: 3 additions & 0 deletions data/info/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Makefile.am

SUBDIRS = profile.d
4 changes: 4 additions & 0 deletions data/info/profile.d/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# .gitignore

# generated data files
info.sh
26 changes: 26 additions & 0 deletions data/info/profile.d/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Makefile.am

include $(top_srcdir)/rules.mk

# data/script variables
info = info.sh

# data/scripts generated by make (require explicit distribution of source file)
make_data = $(info)

$(make_data): Makefile

profile_DATA = $(make_data)

# variables to support building our output
make_output = $(make_data)

make_sources = $(addsuffix .in,$(make_output))

# explicit source file distribution
EXTRA_DIST = $(make_sources)

CLEANFILES = $(make_output)

# sed command to build data/scripts
EDIT = -e 's:@infodir[@]:$(infodir):g'
File renamed without changes.

0 comments on commit ba0d7b6

Please sign in to comment.