X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=modules%2Fsysexits;h=ed0d48866632339853b72cdae69c654022aa987a;hb=76d82d2d7f5ba1a69da6aaa71ff170f5a90a6c94;hp=616ddb9daea3129aa1ddb8acc73158b56652c2a0;hpb=b4b6391081d1173278396afdf098be68b1768752;p=pspp diff --git a/modules/sysexits b/modules/sysexits index 616ddb9dae..ed0d488666 100644 --- a/modules/sysexits +++ b/modules/sysexits @@ -16,6 +16,7 @@ BUILT_SOURCES += $(SYSEXITS_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. +if GL_GENERATE_SYSEXITS_H sysexits.h: sysexits.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ @@ -27,6 +28,10 @@ sysexits.h: sysexits.in.h $(top_builddir)/config.status < $(srcdir)/sysexits.in.h; \ } > $@-t && \ mv -f $@-t $@ +else +sysexits.h: $(top_builddir)/config.status + rm -f $@ +endif MOSTLYCLEANFILES += sysexits.h sysexits.h-t Include: