Next: , Previous: Files attribute, Up: Descriptors


Populate-Ignore attribute

— Attribute: Populate-Ignore (pattern1 ...)

This attribute is used to inform prcs populate of files that it should not add to the Files list of the project descriptor. It is included as a convenience; you can accomplish the same effect by editing the Files list after running populate.

Each of the pattern arguments is a regular expression (as used by grep). Any path name that prcs populate finds that matches one or more pattern arguments is not added to the Files list (existing names on the list are not affected).

For example, the following filters out object (.o) files, library archive (.a) files, core files, files generated by TeX, Postscript (.ps) files that occur in subdirectory doc, Emacs backup files, and the executable file a.out:

     (Populate-Ignore ("\\.o$" "\\.a$" "~$" "^a.out$" "^core$"
                       "\\.dvi$" "\\.aux$" "\\.log"
                       "^doc/.*\\.ps"))