summaryrefslogtreecommitdiff
path: root/mk-hdr.awk
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-01-31 22:26:04 +0000
committer <>2015-02-09 14:16:45 +0000
commitf6d73a10a980bc78969c3af93665cbe7d06c3646 (patch)
tree83f9bf86268881f01478c2a7f8f5186b2c8db3d3 /mk-hdr.awk
parent280cceada215debbf561bcec9780630ddad28b37 (diff)
downloadncurses-f6d73a10a980bc78969c3af93665cbe7d06c3646.tar.gz
Imported from /home/lorry/working-area/delta_ncurses/ncurses-5.9-20150131.tgz.ncurses-5.9-20150131
Diffstat (limited to 'mk-hdr.awk')
-rw-r--r--mk-hdr.awk16
1 files changed, 8 insertions, 8 deletions
diff --git a/mk-hdr.awk b/mk-hdr.awk
index 530cbe9..dfb2c9a 100644
--- a/mk-hdr.awk
+++ b/mk-hdr.awk
@@ -1,6 +1,6 @@
-# $Id: mk-hdr.awk,v 1.3 2010/05/15 20:10:42 tom Exp $
+# $Id: mk-hdr.awk,v 1.4 2013/08/03 23:09:42 tom Exp $
##############################################################################
-# Copyright (c) 2007,2010 Free Software Foundation, Inc. #
+# Copyright (c) 2007-2010,2013 Free Software Foundation, Inc. #
# #
# Permission is hereby granted, free of charge, to any person obtaining a #
# copy of this software and associated documentation files (the "Software"), #
@@ -73,12 +73,12 @@ BEGIN {
END {
if ( count > 0 )
{
- print "${DESTDIR}${includedir} :"
+ print "${INCLUDEDIR} :"
print " mkdir -p $@"
print ""
print "install \\"
print "install.libs \\"
- print "install.includes :: ${AUTO_SRC} ${DESTDIR}${includedir} \\"
+ print "install.includes :: ${AUTO_SRC} ${INCLUDEDIR} \\"
for (i = 0; i < count - 1; ++i) {
printf " %s \\\n", data[i]
@@ -86,9 +86,9 @@ END {
printf " %s\n", data[count - 1]
for (i = 0; i < count; ++i) {
- printf " @ (cd ${DESTDIR}${includedir} && rm -f %s) ; ../headers.sh ${INSTALL_DATA} ${DESTDIR}${includedir} ${srcdir} %s\n", basename(data[i]), data[i]
+ printf " @ (cd ${INCLUDEDIR} && rm -f %s) ; ../headers.sh ${INSTALL_DATA} ${INCLUDEDIR} ${srcdir} %s\n", basename(data[i]), data[i]
if (data[i] == "curses.h" && compat == "yes") {
- printf " @ (cd ${DESTDIR}${includedir} && rm -f ncurses.h && ${LN_S} %s ncurses.h)\n", data[i]
+ printf " @ (cd ${INCLUDEDIR} && rm -f ncurses.h && ${LN_S} %s ncurses.h)\n", data[i]
}
}
print ""
@@ -97,9 +97,9 @@ END {
print "uninstall.includes ::"
for (i = 0; i < count; ++i) {
- printf " -@ (cd ${DESTDIR}${includedir} && rm -f %s)\n", basename(data[i])
+ printf " -@ (cd ${INCLUDEDIR} && rm -f %s)\n", basename(data[i])
if (data[i] == "curses.h" && compat == "yes") {
- printf " -@ (cd ${DESTDIR}${includedir} && rm -f ncurses.h)\n"
+ printf " -@ (cd ${INCLUDEDIR} && rm -f ncurses.h)\n"
}
}
}