make util-vserver.spec readonly to prevent losing of changes
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 27 May 2004 00:48:49 +0000 (00:48 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 27 May 2004 00:48:49 +0000 (00:48 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1575 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/Makefile.am

index 53f6c69..f2d1742 100644 (file)
@@ -53,7 +53,8 @@ sysconf_DATA =
 
 DIETPROGS =            $(ENSC_VECTOR_LIBS)
 
-BUILT_SOURCES =                linuxcaps.h pathconfig.h linuxvirtual.h
+BUILT_SOURCES =                linuxcaps.h pathconfig.h linuxvirtual.h \
+                       .fixups
 
 man_MANS =
 
@@ -83,7 +84,7 @@ AM_CPPFLAGS           =  -I $(top_srcdir)/lib -I $(top_srcdir)/ensc_wrappers -D _GNU_SOUR
 
 CLEANFILES =           $(BUILT_SOURCES) \
                        .*.pathsubst.stamp */.*.pathsubst.stamp */*/.*.pathsubst.stamp \
-                       linuxcaps.h pathconfig.h
+                       linuxcaps.h pathconfig.h .fixups
 
 DISTCLEANFILES =       FEATURES.txt
 
@@ -223,6 +224,10 @@ _install-vshelperlink:
 _install-vserverdir:
                        $(mkinstalldirs) $(DESTDIR)$(vserverdir) $(DESTDIR)$(vserverpkgdir)
 
+.fixups:               config.status util-vserver.spec
+                       chmod a-w util-vserver.spec
+                       touch $@
+
 if USE_DIETLIBC
 $(addsuffix $(EXEEXT), $(DIETPROGS)) \
 $(addsuffix $(OBJEXT), $(DIETPROGS)) \