Mercurial > hg > octave-lojdl > gnulib-hg
annotate modules/sys_file @ 11926:79c91e5cce7a
Use $(MKDIR_P) instead of @MKDIR_P@.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Tue, 01 Sep 2009 14:25:07 +0200 |
parents | 67c2b22aff08 |
children | 18ea6ab4e81d |
rev | line source |
---|---|
10598 | 1 Description: |
2 <sys/file.h> for systems with an incomplete header. | |
3 | |
4 Files: | |
5 lib/sys_file.in.h | |
6 m4/sys_file_h.m4 | |
7 | |
8 Depends-on: | |
9 include_next | |
10 link-warning | |
11 | |
12 configure.ac: | |
13 gl_HEADER_SYS_FILE_H | |
14 AC_PROG_MKDIR_P | |
15 | |
16 Makefile.am: | |
17 BUILT_SOURCES += $(SYS_FILE_H) | |
18 | |
19 # We need the following in order to create <sys/file.h> when the system | |
20 # has one that is incomplete. | |
21 sys/file.h: sys_file.in.h | |
11926
79c91e5cce7a
Use $(MKDIR_P) instead of @MKDIR_P@.
Simon Josefsson <simon@josefsson.org>
parents:
11868
diff
changeset
|
22 $(AM_V_at)$(MKDIR_P) sys |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
10598
diff
changeset
|
23 $(AM_V_GEN)rm -f $@-t $@ && \ |
10598 | 24 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
25 sed -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \ | |
26 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
27 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
28 -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \ | |
29 -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \ | |
30 -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \ | |
31 < $(srcdir)/sys_file.in.h; \ | |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
10598
diff
changeset
|
32 } > $@-t && \ |
10598 | 33 mv $@-t $@ |
34 MOSTLYCLEANFILES += sys/file.h sys/file.h-t | |
35 MOSTLYCLEANDIRS += sys | |
36 | |
37 Include: | |
38 #include <sys/file.h> | |
39 | |
40 License: | |
41 LGPLv2+ | |
42 | |
43 Maintainer: | |
44 all |