Version control systems do not recognize, entirely by themselves, what files to take care of. The same is true of ComPact, so you have to type pkgm -addfile <file_name> whenever you have added a new source file to a work package. The general form is
[ -recursive | -r ] [ -interactive | -i ] ( -addfile | -add ) [-binary] <path>+The possibility of specifying one or more paths takes account of the fact that package directory structures may be arbitrarily deep (cf. Chapter 4). If the recursion option is present, then all files along this path will be added; if the interaction option, however, is also present, then no file will be added without confirmation.
Conversely, you must use the command
[ -recursive | -r ] [ -interactive | -i ] ( -remove | -rm ) <path>+whenever you want to remove one or more source files from a work package. The semantics of the possibility of specifying one or more paths, and the semantics of the recursion and interaction options, are as expected.