CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
pkgutils-cross.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed installation of .la files which were affected due to crosscompilation paths.
[pkgutils-cross.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 81a024cc510be23d845b4b97ab6f748c1e89a777..fffe4f8653391e2386ef44a5a062c2ff18b00091 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,18
+2,25
@@
# Makefile
#
# Makefile
#
-all: src/pkgmk.conf src/pkgmk
+all: src/pkgmk.conf src/pkgmk
pkginfo pkgadd
src/pkgmk:
src/pkgmk:
- @if
grep -e ubuntu /proc/version >/dev/null
; then \
+ @if
[ -f /etc/debian_version -o -f /etc/debian_release -o -f /etc/lsb-release ]
; then \
make -C src LDFLAGS="-static -larchive -lz -lacl"; \
else \
make -C src; \
fi
@chmod a+x src/pkgmk
make -C src LDFLAGS="-static -larchive -lz -lacl"; \
else \
make -C src; \
fi
@chmod a+x src/pkgmk
+pkginfo:
+ @ln -s src/pkgadd pkginfo
+
+pkgadd:
+ @ln -s src/pkgadd pkgadd
+
clean:
@make -C src clean
clean:
@make -C src clean
+ @rm -f pkginfo pkgadd
distclean:
@make -C src distclean
distclean:
@make -C src distclean