Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex D
GHC
Commits
04a42d01
Commit
04a42d01
authored
Aug 21, 2007
by
Simon Marlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
we need to add utils/pwd to a binary distribution
parent
2b9696a5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
23 deletions
+18
-23
aclocal.m4
aclocal.m4
+9
-7
utils/Makefile
utils/Makefile
+1
-1
utils/pwd/Makefile
utils/pwd/Makefile
+8
-15
No files found.
aclocal.m4
View file @
04a42d01
...
...
@@ -1099,13 +1099,15 @@ AC_MSG_CHECKING(for path to top of build tree)
dnl This would be
dnl make -C utils/pwd clean && make -C utils/pwd
dnl except we don't want to have to know what make is called. Sigh.
cd utils/pwd
rm -f *.o
rm -f *.hi
rm -f pwd
rm -f pwd.exe
$WithGhc -v0 --make pwd -o pwd
cd ../..
if test ! -e utils/pwd/pwd && ! -e utils/pwd/pwd.exe; then
cd utils/pwd
rm -f *.o
rm -f *.hi
rm -f pwd
rm -f pwd.exe
$WithGhc -v0 --make pwd -o pwd
cd ../..
fi
hardtop=`utils/pwd/pwd forwardslash`
...
...
utils/Makefile
View file @
04a42d01
...
...
@@ -3,7 +3,7 @@ include $(TOP)/mk/boilerplate.mk
ifeq
"$(DOING_BIN_DIST)" "YES"
# We're doing a binary-dist, descend into a subset of the dirs.
SUBDIRS
=
mkdirhier ghc-pkg hasktags hp2ps hsc2hs parallel prof unlit runghc hpc
SUBDIRS
=
mkdirhier ghc-pkg hasktags hp2ps hsc2hs parallel prof unlit runghc hpc
pwd
else
ifeq
"$(BootingFromHc)" "YES"
SUBDIRS
=
mkdependC mkdirhier runstdtest genapply genprimopcode ghc-pkg unlit
...
...
utils/pwd/Makefile
View file @
04a42d01
TOP
=
../..
include
$(TOP)/mk/boilerplate.mk
# We don't include any of the boilerplate Makefiles as we are used
# by configure. GHC should be overridden on the command line to the
# GHC that you want to use.
HS_PROG
=
pwd
GHC
=
ghc
.PHONY
:
all clean
all
:
$(GHC)
--make
pwd
clean
:
rm
-f
*
.o
rm
-f
*
.hi
rm
-f
pwd
rm
-f
pwd.exe
binary-dist
:
$(INSTALL_DIR)
$(BIN_DIST_DIR)
/utils/pwd
$(INSTALL_DATA)
Makefile
$(BIN_DIST_DIR)
/utils/pwd/
$(INSTALL_PROGRAM)
pwd
$(exeext)
$(BIN_DIST_DIR)
/utils/pwd/
include
$(TOP)/mk/target.mk
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment